From: Norihiro Tanaka Date: Thu, 4 Dec 2014 15:39:14 +0000 (+0000) Subject: libtool: fix sys_lib_dlsearch_path_spec for ia64 HP-UX. X-Git-Tag: v2.4.5~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=facce819e1d637bafe24301c1404f09c7e17fe63;p=thirdparty%2Flibtool.git libtool: fix sys_lib_dlsearch_path_spec for ia64 HP-UX. 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 --- diff --git a/NEWS b/NEWS index 4f5c3f3e5..be3c7f477 100644 --- 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] diff --git a/m4/libtool.m4 b/m4/libtool.m4 index f584ca41b..2bbf01b1d 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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'