From 00eb2b12b50a4c11eefe9ca5cdb8491ec82de03c Mon Sep 17 00:00:00 2001 From: Peter Ekberg Date: Wed, 3 Aug 2005 12:45:24 +0000 Subject: [PATCH] * ltmain.in (link mode): Properly remove the fake symbol line ": @PROGRAM " from the list of exported symbols. --- ChangeLog | 5 +++++ ltmain.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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' -- 2.47.3