From: Gary V. Vaughan Date: Fri, 27 Nov 1998 15:17:21 +0000 (+0000) Subject: Fixed archive_cmd for cygwin32, mingw32, aix3 and aix4. X-Git-Tag: autoconf_pre_2-13~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a86145cbf45921f7eda89515c25ce161d4fccc1;p=thirdparty%2Flibtool.git Fixed archive_cmd for cygwin32, mingw32, aix3 and aix4. --- diff --git a/AUTHORS b/AUTHORS index 721fbca96..fc91b658c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -5,3 +5,4 @@ Foundation. Gordon Matzigkeit. Designed and implemented libtool. Alexandre Oliva . Co-maintainer. Thomas Tanner . Co-maintainer. +Gary V. Vaughan . Co-maintainer. \ No newline at end of file diff --git a/ChangeLog b/ChangeLog index f430b9bca..a14f73536 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +1998-11-27 Gary V. Vaughan + + * AUTHORS: Added myself as a co-maintainer. + + * ltconfig.in (archive_cmds): The `;\' in a compound statement is + expanded wrongly for cygwin32, mingw32, aix3 and aix4. Changed to + `;'. + 1998-11-25 Alexandre Oliva * libtool.spec (URL): point to www.gnu.org diff --git a/ltconfig.in b/ltconfig.in index 7ca2d7008..c17fc41b9 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -988,7 +988,7 @@ __dll_entry (HINSTANCE hinst, DWORD reason, LPVOID reserved) } ' > ltdll.c archive_cmds='$CC -c '"`pwd`"'/ltdll.c~ echo EXPORTS > $lib.exp~ - if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\'' > $lib.exp;\ + if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\'' > $lib.exp; else cat "$export_symbols" > $lib.exp; fi~\ $LD -s --base-file $soname-base --dll -e ___dll_entry@12 -o $lib libtool.$objext$libobjs$deplibs~\ $DLLTOOL --as=$AS --dllname $soname --def $lib.exp --base-file $soname-base --output-exp $soname-exp~\ @@ -1037,7 +1037,7 @@ else case "$host_os" in aix3*) allow_undefined_flag=unsupported - archive_cmds='if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\' | sort | uniq' > $lib.exp;\ + archive_cmds='if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\' | sort | uniq' > $lib.exp; else cat "$export_symbols" > $lib.exp; fi~$LD -o $objdir/$soname$libobjs$deplibs -bE:$lib.exp -T512 -H512 -bM:SRE~$AR cru $lib $objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. @@ -1051,7 +1051,7 @@ else aix4*) allow_undefined_flag=unsupported - archive_cmds='if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\' | sort | uniq' > $lib.exp;\ + archive_cmds='if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\' | sort | uniq' > $lib.exp; else cat "$export_symbols" > $lib.exp; fi~ $CC -o $objdir/$soname$libobjs$deplibs ${wl}-bE:$lib.exp ${wl}-bM:SRE ${wl}-bnoentry~$AR cru $lib $objdir/$soname' hardcode_direct=yes hardcode_minus_L=yes @@ -1082,7 +1082,7 @@ __dll_entry (HINSTANCE hinst, DWORD reason, LPVOID reserved) } ' > ltdll.c archive_cmds='$CC -c '"`pwd`"'/ltdll.c~ echo EXPORTS > $lib.exp~ - if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\'' > $lib.exp;\ + if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\'' > $lib.exp; else cat "$export_symbols" > $lib.exp; fi~\ $LD -s --base-file $soname-base --dll -e ___dll_entry@12 -o $lib libtool.$objext$libobjs$deplibs~\ $DLLTOOL --as=$AS --dllname $soname --def $lib.exp --base-file $soname-base --output-exp $soname-exp~\