]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Fri, 2 Apr 1999 09:08:30 +0000 (09:08 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 2 Apr 1999 09:08:30 +0000 (09:08 +0000)
should have been using -Bshareable

ChangeLog
ltconfig.in

index db03a5f25a3e878689893022bacba5951ff132fa..b5a53646abddf7f4c217d7f2ff562acf33458cfc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-04-02  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we
+       should have been using -Bshareable
+
        * demo/Makefile.am (CLEANFILES): clean EXTRA_* from deplibs-check
 
        * libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests 
index c72da500ddb042c06791f21058bef698fa0658e1..20aee936ac5f2c1a4bf746451c27484025ba067c 100755 (executable)
@@ -1069,7 +1069,7 @@ EOF
     ;;
 
   sunos4*)
-    archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linkopts'
+    archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linkopts'
     wlarc=
     hardcode_direct=yes
     hardcode_shlibpath_var=no
@@ -1313,12 +1313,11 @@ else
     ;;
 
   sunos4*)
-    # Why do we need -Bstatic?  To avoid inter-library dependencies, maybe...
     if test "$with_gcc" = yes; then
       # Use -fPIC here because libgcc is multilibbed
-      archive_cmds='$CC -shared ${wl}-Bstatic -fPIC -o $lib $libobjs $deplibs $linkopts'
+      archive_cmds='$CC -shared -fPIC -o $lib $libobjs $deplibs $linkopts'
     else
-      archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linkopts'
+      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linkopts'
     fi
     hardcode_libdir_flag_spec='-L$libdir'
     hardcode_direct=yes