]> 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:30 +0000 (08:35 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 4 Apr 1999 08:35:30 +0000 (08:35 +0000)
deplibs.test to work with GNU ld; -Bshareable is needed here.

ChangeLog
ltconfig.in

index efbb4e418d2f9f0398605602bfa746463f22b578..3124e1227f004c9002826b0b09d5b9be7a8e6057 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 7b43c47848b1b32ff7035e0c8592cb2259d466e7..837ad4fcabd457a2de7b9f29f30c502272089734 100755 (executable)
@@ -1108,7 +1108,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