]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Support $host_os as /sysv5uw7*/ from newer
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 24 Apr 2001 23:40:42 +0000 (23:40 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 24 Apr 2001 23:40:42 +0000 (23:40 +0000)
config.guess in addition to older /unixware*/.  Use compiler
driver, not linker, for linking shared libraries.

ChangeLog
libtool.m4

index e6c5a77830d20e1c7094375d106241904d387a51..61a34eb026e2519bd87aa91aea4de1d38bc38426 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-24  Peter Eisentraut  <peter_e@gmx.net>
+
+       * libtool.m4: Support $host_os as /sysv5uw7*/ from newer
+       config.guess in addition to older /unixware*/.  Use compiler
+       driver, not linker, for linking shared libraries.
+                       
 2001-04-24  Gary V. Vaughan  <gvv@techie.com>
 
        * libtool.m4, ltmain.in, libltdl/configure.in,
index 73082f50594a4503d6a8b0671c76a9fc05fef837..e496521681b56e5fd30faa7f019892afcca15d0a 100644 (file)
@@ -1734,8 +1734,13 @@ else
     runpath_var=LD_RUN_PATH
     ;;
 
-  unixware7*)
-    archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+  sysv5uw7* | unixware7*)
+    no_undefined_flag='${wl}-z ${wl}text'
+    if test "$GCC" = yes; then
+      archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+    else
+      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+    fi
     runpath_var='LD_RUN_PATH'
     hardcode_shlibpath_var=no
     ;;