From: William M. Perry Date: Sat, 7 Nov 1998 07:19:18 +0000 (+0000) Subject: * ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds X-Git-Tag: start~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=983f1cb8e3aa4a1c6fb64f93d3fb079693dbb846;p=thirdparty%2Flibtool.git * ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds --- diff --git a/ChangeLog b/ChangeLog index fee8231dc..d0c4985cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1998-11-07 William M. Perry + + * ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds + 1998-11-07 Alexandre Oliva * ltconfig.in: add --falback-echo, to be used if everything else diff --git a/ltconfig.in b/ltconfig.in index 96b6825ed..257f99017 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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