]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds
authorWilliam M. Perry <wmperry@aventail.com>
Sat, 7 Nov 1998 07:19:18 +0000 (07:19 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 7 Nov 1998 07:19:18 +0000 (07:19 +0000)
ChangeLog
ltconfig.in

index fee8231dc062224f6938a61fa2f18738918505da..d0c4985cc3a25a8c36262d7d0c5f6b2bc58793ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 96b6825ed47dedfc0073cd495a19655004b68686..257f9901753b18f95f3371aa72716cc6c03ddeaf 100755 (executable)
@@ -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