]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (hpux*, hardcode_minus_L): Set to yes.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 25 Apr 1999 10:21:43 +0000 (10:21 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 25 Apr 1999 10:21:43 +0000 (10:21 +0000)
(hpux*, hardcode_libdir_flag_spec): Do not use +s by default.
(hpux*, shlibpath_overrides_runpath): Set to no.

ChangeLog
ltconfig.in

index 02a11149451b78a7cf9da59125289ba7540028d0..a31a8f668136f8cee115fef53f0ff7c0a23e3f0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-04-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltconfig.in (hpux*, hardcode_minus_L): Set to yes.
+       (hpux*, hardcode_libdir_flag_spec): Do not use +s by default.
+       (hpux*, shlibpath_overrides_runpath): Set to no.
+
        * ltconfig.in (irix*, osf*, archive_cmds): Write so_locations
        within objdir.
 
index cb8865c4fa25aec9a8d6e0ed8f823e90521ac139..b680ee1226f132b7ad071bd939591df2a40f0e58 100755 (executable)
@@ -1250,19 +1250,16 @@ else
     hardcode_shlibpath_var=no
     ;;
 
-  hpux9*)
-    archive_cmds='$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib'
-    hardcode_libdir_flag_spec='${wl}+s ${wl}+b ${wl}$libdir'
-    hardcode_libdir_separator=:
-    hardcode_direct=yes
-    export_dynamic_flag_spec='${wl}-E'
-    ;;
-
-  hpux10* | hpux11*)
-    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linkopts'
-    hardcode_libdir_flag_spec='${wl}+s ${wl}+b ${wl}$libdir'
+  hpux9* | hpux10* | hpux11*)
+    case "$host_os" in
+    hpux9*) archive_cmds='$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib' ;;
+    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linkopts' ;;
+    esac
+    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     hardcode_libdir_separator=:
     hardcode_direct=yes
+    hardcode_minus_L=yes # Not in the search PATH, but as the default
+                        # location of the library.
     export_dynamic_flag_spec='${wl}-E'
     ;;
 
@@ -1738,7 +1735,7 @@ hpux9* | hpux10* | hpux11*)
   need_lib_prefix=no
   need_version=no
   shlibpath_var=SHLIB_PATH
-  shlibpath_overrides_runpath=yes # +s before +b in hardcode_libdir_flag_spec
+  shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
   soname_spec='${libname}${release}.sl$major'
   # HP-UX runs *really* slowly unless shared libraries are mode 555.