]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: fix sys_lib_dlsearch_path_spec for ia64 HP-UX.
authorNorihiro Tanaka <noritnk@kcn.ne.jp>
Thu, 4 Dec 2014 15:39:14 +0000 (15:39 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 4 Dec 2014 15:45:02 +0000 (15:45 +0000)
The run-time loader does not search /usr/local or subdirectories
by default on ia64 HP-UX.
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Fix
sys_lib_dlsearch_path_spec for ia64 HP-UX.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
NEWS
m4/libtool.m4

diff --git a/NEWS b/NEWS
index 4f5c3f3e59c4c2a8a2847b6d17fea024a081a1cc..be3c7f477733908e4e8cfe459f1815c1c8b35247 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,12 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - Fix a 2.4.4 regression so that libltdl subprojects do not warn
     about missing libltdl/libltdl directory as in prior releases.
 
+** Changes in supported systems or compilers:
+
+  - /usr/local prefixed rpaths are now added to the link-line on
+    ia64-hp-hpux*, because the default system runtime loader path does
+    not contain them.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
index f584ca41b07b54169dc59211626cc639a6cd13ff..2bbf01b1d47cb0d98d548f928df30e3fcc32d943 100644 (file)
@@ -2654,10 +2654,11 @@ hpux9* | hpux10* | hpux11*)
     soname_spec='$libname$release$shared_ext$major'
     if test 32 = "$HPUX_IA64_MODE"; then
       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
     else
       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
     fi
-    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     ;;
   hppa*64*)
     shrext_cmds='.sl'