[prev in list] [next in list] [prev in thread] [next in thread]
List: apr-cvs
Subject: svn commit: r495127 - /apr/apr/trunk/build/cvtdsp.pl
From: wrowe () apache ! org
Date: 2007-01-11 5:37:56
Message-ID: 20070111053756.C5F461A9823 () eris ! apache ! org
[Download RAW message or body]
Author: wrowe
Date: Wed Jan 10 21:37:55 2007
New Revision: 495127
URL: http://svn.apache.org/viewvc?view=rev&rev=495127
Log:
Correct the path syntax for link /out: and the manifest's
InputFile specification
Modified:
apr/apr/trunk/build/cvtdsp.pl
Modified: apr/apr/trunk/build/cvtdsp.pl
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/cvtdsp.pl?view=diff&rev=495127&r1=495126&r2=495127
==============================================================================
--- apr/apr/trunk/build/cvtdsp.pl (original)
+++ apr/apr/trunk/build/cvtdsp.pl Wed Jan 10 21:37:55 2007
@@ -39,6 +39,7 @@
print "Specify -w3 or -w4 for .dsp build with warning level 3 or 4 (strict)\n\n";
print "Specify -ia64 for build targeted at Itanium (req's psdk tools)\n\n";
print "Specify -p for extreme pool debugging\n\n";
+ print "Specify -mt to add .manifest embedding\n\n";
die "Missing argument";
}
@@ -62,11 +63,13 @@
$outdir = $1;
$outpath = $oname;
$outpath =~ s|\.dsp||;
- $outpath = "./" . $outdir . "/" . $outpath . $outtype;
+ $outpath = ".\\" . $outdir . "\\" . $outpath . $outtype;
}
- if ($src =~ m|^# ADD LINK32 .+ /out:"([^"]+)"|) {
- $outpath = $1;
- $outpath = "./" . $outpath if (!($outpath =~ m|^\.|));
+ if ($src =~ m|^# ADD (BASE )?LINK32 .+ /out:"([^"]+)"|) {
+ $outpath = $2;
+ $outpath =~ s|/|\\|;
+ $outpath = ".\\" . $outpath if (!($outpath =~ m|^\.|));
+ $src =~ s|/out:"([^"]+)"|/out:"$outpath"|;
}
if (defined($outpath) && ($src =~ m|^# Begin Special Build Tool|)) {
undef $outpath;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic