Fixed archive_cmd for cygwin32, mingw32, aix3 and aix4.

This commit is contained in:
Gary V. Vaughan 1998-11-27 15:17:21 +00:00
parent 22118136a0
commit 2a86145cbf
3 changed files with 13 additions and 4 deletions

View File

@ -5,3 +5,4 @@ Foundation.
Gordon Matzigkeit. Designed and implemented libtool. Gordon Matzigkeit. Designed and implemented libtool.
Alexandre Oliva <oliva@dcc.unicamp.br>. Co-maintainer. Alexandre Oliva <oliva@dcc.unicamp.br>. Co-maintainer.
Thomas Tanner <tanner@gmx.de>. Co-maintainer. Thomas Tanner <tanner@gmx.de>. Co-maintainer.
Gary V. Vaughan <garyv@oranda.demon.co.uk>. Co-maintainer.

View File

@ -1,3 +1,11 @@
1998-11-27 Gary V. Vaughan <garyv@oranda.demon.co.uk>
* 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 <oliva@dcc.unicamp.br> 1998-11-25 Alexandre Oliva <oliva@dcc.unicamp.br>
* libtool.spec (URL): point to www.gnu.org * libtool.spec (URL): point to www.gnu.org

View File

@ -988,7 +988,7 @@ __dll_entry (HINSTANCE hinst, DWORD reason, LPVOID reserved)
} }
' > ltdll.c ' > ltdll.c
archive_cmds='$CC -c '"`pwd`"'/ltdll.c~ echo EXPORTS > $lib.exp~ 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~\ else cat "$export_symbols" > $lib.exp; fi~\
$LD -s --base-file $soname-base --dll -e ___dll_entry@12 -o $lib libtool.$objext$libobjs$deplibs~\ $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~\ $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 case "$host_os" in
aix3*) aix3*)
allow_undefined_flag=unsupported 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' 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 # Note: this linker hardcodes the directories in LIBPATH if there
# are no directories specified by -L. # are no directories specified by -L.
@ -1051,7 +1051,7 @@ else
aix4*) aix4*)
allow_undefined_flag=unsupported 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' 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_direct=yes
hardcode_minus_L=yes hardcode_minus_L=yes
@ -1082,7 +1082,7 @@ __dll_entry (HINSTANCE hinst, DWORD reason, LPVOID reserved)
} }
' > ltdll.c ' > ltdll.c
archive_cmds='$CC -c '"`pwd`"'/ltdll.c~ echo EXPORTS > $lib.exp~ 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~\ else cat "$export_symbols" > $lib.exp; fi~\
$LD -s --base-file $soname-base --dll -e ___dll_entry@12 -o $lib libtool.$objext$libobjs$deplibs~\ $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~\ $DLLTOOL --as=$AS --dllname $soname --def $lib.exp --base-file $soname-base --output-exp $soname-exp~\