]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (sysv): More UW7 support.
authorVadim <vadim@olly.ru>
Wed, 29 Sep 1999 23:08:26 +0000 (23:08 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 29 Sep 1999 23:08:26 +0000 (23:08 +0000)
ChangeLog
ltconfig.in

index 3f8dcbb7b064127484ebf602a91b3c71b4999e2b..0ee24c91218440bd3b64fafd74bc5b8a271ea42e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-09-29  Vadim  <vadim@olly.ru>
+
+       * ltconfig.in (sysv):  More UW7 support.
+
 1999-09-28  Albert Cheng  <acheng@ncsa.uiuc.edu>
 
        * ltmain.in (shlibpath_var): ensure the variable is non-empty before
index f9c9c4bcb2c2ea759212066e03d9f2e9b86a3043..57e9228555da49ad36f940b590d1e4ebf88cbe1f 100755 (executable)
@@ -1416,7 +1416,7 @@ EOF
     fi
     ;;
 
-  solaris*)
+  solaris* | sysv5*)
     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
       ld_shlibs=no
       cat <<EOF 1>&2
@@ -1667,6 +1667,17 @@ else
     link_all_deplibs=yes
     ;;
 
+  sysv5*)
+    no_undefined_flag=' -z text'
+    # $CC -shared without GNU ld will not create a library from C++
+    # object files and a static libstdc++, better avoid it by now
+    archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linkopts'
+    archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+               $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp'
+    hardcode_libdir_flag_spec=
+    hardcode_shlibpath_var=no
+    ;;
+
   sunos4*)
     archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     hardcode_libdir_flag_spec='-L$libdir'
@@ -2175,7 +2186,7 @@ hpux*) # Its linker distinguishes data from code symbols
 irix*)
   symcode='[BCDEGRST]'
   ;;
-solaris*)
+solaris* | sysv5*)
   symcode='[BDT]'
   ;;
 sysv4)