]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (sunos4*, GNU ld): -Bstatic is not enough for
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 4 Apr 1999 08:35:41 +0000 (08:35 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 4 Apr 1999 08:35:41 +0000 (08:35 +0000)
deplibs.test to work with GNU ld; -Bshareable is needed here.

ChangeLog
ltconfig.in

index 41cf489ed53ded20baede13d79f3e8a94c916ed0..8e524f4d4ae0db93a34f645185eb889a7f638ee4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-04-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltconfig.in (sunos4*, GNU ld): -Bstatic is not enough for
+       deplibs.test to work with GNU ld; -Bshareable is needed here.
+
        * ltconfig.in (ld_shlibs, amigaos*): Disable shared libs with
        native ld too.
 
index b6d2ef6670fb6a1601a50c5b2644266d56b5a91b..bdf14c1dd314e319d638b7d8243b123295fc66f0 100755 (executable)
@@ -1117,7 +1117,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