]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (link mode): Properly remove the fake symbol line
authorPeter Ekberg <peda@lysator.liu.se>
Wed, 3 Aug 2005 12:45:24 +0000 (12:45 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 3 Aug 2005 12:45:24 +0000 (12:45 +0000)
": @PROGRAM " from the list of exported symbols.

ChangeLog
ltmain.in

index fabe88220bed6cf918585ca4df189281288d4caa..078e8b204b27b16690627dbf15c6cb7eaec6061c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-03  Peter Ekberg  <peda@lysator.liu.se>
+
+       * ltmain.in (link mode): Properly remove the fake symbol line
+       ": @PROGRAM " from the list of exported symbols.
+
 2005-08-02  Peter Ekberg  <peda@lysator.liu.se>
 
        * libtool.m4 (AC_LIBTOOL_LINKER_OPTION): Fix copy-paste bug, it
index 21af68ba188bcf48467bce7181c29e3542966d0b..392b89b1f2211cf484f59071547ef70ab092d6e2 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -4380,7 +4380,7 @@ extern \"C\" {
            if test -z "$export_symbols"; then
              export_symbols="$output_objdir/$outputname.exp"
              $run $rm $export_symbols
-             $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
+             $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
            else
              $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
              $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'