From 411501deebd0f81e59d5971e7e148492578b4c0e Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 27 Sep 2011 01:16:19 +0000 Subject: [PATCH] Patch for libtool 2.4 * Disable shlibpath_overrides_runpath as that isn't what Haiku's runtime loader implements. * Update search paths. --- sys-devel/libtool/patches/libtool-2.4.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys-devel/libtool/patches/libtool-2.4.patch diff --git a/sys-devel/libtool/patches/libtool-2.4.patch b/sys-devel/libtool/patches/libtool-2.4.patch new file mode 100644 index 000000000..c0a99595a --- /dev/null +++ b/sys-devel/libtool/patches/libtool-2.4.patch @@ -0,0 +1,16 @@ +diff -ur libtool-2.4/libltdl/m4/libtool.m4 libtool-2.4/libltdl/m4/libtool.m4 +--- libtool-2.4/libltdl/m4/libtool.m4 2010-09-22 08:41:19.064749568 +0000 ++++ libtool-2.4/libltdl/m4/libtool.m4 2011-07-24 16:58:02.885260288 +0000 +@@ -2472,8 +2472,10 @@ + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH +- shlibpath_overrides_runpath=yes +- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' ++ shlibpath_overrides_runpath=no ++ # TODO: The /boot/common search path should also develop/lib! ++ sys_lib_search_path_spec='/boot/common/non-packaged/lib /boot/common/lib /boot/system/develop/lib' ++ sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/common/non-packaged/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; +