mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-24 14:24:59 +08:00
* config/ltmain.m4sh: Really don't require versions of GNU
sed newer than 3.02 for Cygwin and MinGW, and don't break dryrun mode.
This commit is contained in:
parent
2d21f9adc3
commit
c57c62b12e
@ -1,3 +1,9 @@
|
||||
2004-10-10 Charles Wilson <spam.protected>
|
||||
|
||||
* config/ltmain.m4sh: Really don't require versions of GNU
|
||||
sed newer than 3.02 for Cygwin and MinGW, and don't break
|
||||
dryrun mode.
|
||||
|
||||
2004-10-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
||||
|
||||
* config/getopt.m4sh: Under MinGW, reported paths may include ':'
|
||||
|
@ -745,15 +745,16 @@ extern \"C\" {
|
||||
$run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
|
||||
case $host in
|
||||
*cygwin* | *mingw* )
|
||||
$run ${ECHO} EXPORTS > "$output_objdir/$output.def"
|
||||
$run cat "$export_symbols" >> "$output_objdir/$output.def"
|
||||
$run eval "${ECHO} EXPORTS "'> "$output_objdir/$output.def"'
|
||||
$run eval 'cat "$export_symbols" >> "$output_objdir/$output.def"'
|
||||
;;
|
||||
esac
|
||||
else
|
||||
$run eval "${SED} -e 's/\([[]][[.*^$]]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
|
||||
case $host in
|
||||
*cygwin | *mingw* )
|
||||
$run eval "${SED} -e '1iEXPORTS'"' < "$output_objdir/$output.exp" > "$output_objdir/$output.def"'
|
||||
$run eval "${ECHO} EXPORTS "'> "$output_objdir/$output.def"'
|
||||
$run eval 'cat "$output_objdir/$output.exp" >> "$output_objdir/$output.def"'
|
||||
;;
|
||||
esac
|
||||
$run eval '$GREP -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
|
||||
|
Loading…
Reference in New Issue
Block a user