]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: according to Marcus Sundberg <mackan@stacken.kth.se>
authorThomas Tanner <tanner@gmx.de>
Mon, 8 Feb 1999 00:10:28 +0000 (00:10 +0000)
committerThomas Tanner <tanner@gmx.de>
Mon, 8 Feb 1999 00:10:28 +0000 (00:10 +0000)
  HP/UX, IRIX, OpenBSD, Digital Unix and SunOS support
  need_version=no and need_lib_prefix=no,
  fixed a bug in Solaris' archive_sym_cmds

ChangeLog
ltconfig.in

index 172e1278a220a1284da6e9bc8d17f5597f4997a9..a69e688a091b74087da01409daf280a63e82b8a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1999-02-08  Thomas Tanner  <tanner@gmx.de>
+
+       * ltconfig.in: according to Marcus Sundberg <mackan@stacken.kth.se>
+         HP/UX, IRIX, OpenBSD, Digital Unix and SunOS support
+         need_version=no and need_lib_prefix=no,
+         fixed a bug in Solaris' archive_sym_cmds
+
 1999-02-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * libtool.m4 (ac_cv_sys_global_symbol_pipe): accept TAB in
index d5e2d066af8fd6c82a08d5cadf6648b8ed2fb098..15b49c1a11ee3e330290f29e566e4bdc8078f0b0 100755 (executable)
@@ -1280,8 +1280,8 @@ else
     # $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_sym_cmds='$echo "{ global:" > $lib.exp~sed $export_symbols -e "s/.*/\1;/" >> $lib.exp~$echo "local: * }" >> $lib.exp~
-               $LD -G${allow_undefined_flag} -M $export_symbols -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp'
+    archive_sym_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='-R$libdir'
     hardcode_shlibpath_var=no
     ;;
@@ -1657,6 +1657,8 @@ hpux9* | hpux10* | hpux11*)
   # link against other versions.
   dynamic_linker="$host_os dld.sl"
   version_type=sunos
+  need_lib_prefix=no
+  need_version=no
   shlibpath_var=SHLIB_PATH
   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
   soname_spec='${libname}${release}.sl$major'
@@ -1673,6 +1675,8 @@ irix5*)
 
 irix6*)
   version_type=osf
+  need_lib_prefix=no
+  need_version=no
   soname_spec='${libname}${release}.so'
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
   shlibpath_var=LD_LIBRARYN32_PATH
@@ -1722,6 +1726,10 @@ netbsd*)
 
 openbsd*)
   version_type=sunos
+  if test "$with_gnu_ld" = yes; then
+    need_lib_prefix=no
+    need_version=no
+  fi
   library_names_spec='${libname}${release}.so$versuffix'
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   shlibpath_var=LD_LIBRARY_PATH
@@ -1768,6 +1776,9 @@ sunos4*)
   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   shlibpath_var=LD_LIBRARY_PATH
+  if test "$with_gnu_ld" = yes; then
+    need_lib_prefix=no
+  fi
   need_version=yes
   ;;
 
@@ -1792,6 +1803,8 @@ uts4*)
 
 dgux*)
   version_type=linux
+  need_lib_prefix=no
+  need_version=no
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
   soname_spec='${libname}${release}.so$major'
   shlibpath_var=LD_LIBRARY_PATH