From: Peter Ekberg Date: Wed, 3 Aug 2005 12:45:24 +0000 (+0000) Subject: * ltmain.in (link mode): Properly remove the fake symbol line X-Git-Tag: release-1-5-20~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00eb2b12b50a4c11eefe9ca5cdb8491ec82de03c;p=thirdparty%2Flibtool.git * ltmain.in (link mode): Properly remove the fake symbol line ": @PROGRAM " from the list of exported symbols. --- diff --git a/ChangeLog b/ChangeLog index fabe88220..078e8b204 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-03 Peter Ekberg + + * ltmain.in (link mode): Properly remove the fake symbol line + ": @PROGRAM " from the list of exported symbols. + 2005-08-02 Peter Ekberg * libtool.m4 (AC_LIBTOOL_LINKER_OPTION): Fix copy-paste bug, it diff --git a/ltmain.in b/ltmain.in index 21af68ba1..392b89b1f 100644 --- 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'