* ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds

This commit is contained in:
William M. Perry 1998-11-07 07:19:18 +00:00 committed by Alexandre Oliva
parent ab657f88f3
commit 983f1cb8e3
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
1998-11-07 William M. Perry <wmperry@aventail.com>
* ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds
1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltconfig.in: add --falback-echo, to be used if everything else

View File

@ -994,7 +994,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/.* //'\'' > $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 -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.
@ -1008,7 +1008,7 @@ else
aix4*)
allow_undefined_flag=unsupported
archive_cmds='if test -z "$export_symbols"; then $NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\'' > $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 ${wl}-bE:$lib.exp ${wl}-bM:SRE ${wl}-bnoentry;$AR cru $lib $objdir/$soname'
hardcode_direct=yes
hardcode_minus_L=yes