* ltconfig.in: Correct sed expression that extracts symbols

from cygwin def files.  Ignore demangled C++ names, if any.
This commit is contained in:
Alexandre Oliva 1999-04-25 10:38:46 +00:00 committed by Gary V. Vaughan
parent b5efe17eca
commit ac6bf76b30
2 changed files with 6 additions and 1 deletions

View File

@ -65,6 +65,11 @@
* libltdl/ltdl.c: Remove trivial warnings. * libltdl/ltdl.c: Remove trivial warnings.
1999-04-22 Frank Ch. Eigler <fche@cygnus.com>
* ltconfig.in: Correct sed expression that extracts symbols
from cygwin def files. Ignore demangled C++ names, if any.
1999-04-12 John David Anglin <dave.anglin@nrc.ca> 1999-04-12 John David Anglin <dave.anglin@nrc.ca>
* libltdl/ltdl.c (shl_close): shl_t was correct here... * libltdl/ltdl.c (shl_close): shl_t was correct here...

View File

@ -1110,7 +1110,7 @@ EOF
sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $0 > $objdir/$soname-ltdll.c~ sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $0 > $objdir/$soname-ltdll.c~
(cd $objdir && $CC -c $soname-ltdll.c)~ (cd $objdir && $CC -c $soname-ltdll.c)~
$DLLTOOL --export-all --exclude-symbols DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12 --output-def $objdir/$soname-def $objdir/$soname-ltdll.$objext $libobjs~ $DLLTOOL --export-all --exclude-symbols DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12 --output-def $objdir/$soname-def $objdir/$soname-ltdll.$objext $libobjs~
sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]* ; *//" < $objdir/$soname-def > $export_symbols' sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]* ;.*//" < $objdir/$soname-def > $export_symbols'
archive_expsym_cmds='echo EXPORTS > $objdir/$soname-def~ archive_expsym_cmds='echo EXPORTS > $objdir/$soname-def~
_lt_hint=1; _lt_hint=1;