[PATCH] Haiku change for shlibpath_overrides_runpath

Joseph Prostko <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <CAKfvZxxo_ow2W=38=hyQmve+ASZHLfXS7vynFbfG85Rwv7h8Qw@mail.gmail.com>
Hello,

I am a developer with the Haiku operating system.

Pretty much all changes to Haiku for Libtool have been upstreamed,
however we currently have an incorrect value for
shlibpath_overrides_runpath.  It should be "no" instead of "yes".

Previously Scott McCreary had submitted patches for us, but I told him
I would work to get this committed, as he is quite busy lately.

Here is a commit he made to our Haiku Ports site though, that shows
the exact change I am proposing done against Libtool 2.4.2.

http://ports.haiku-files.org/browser/haikuports/trunk/sys-devel/libtool/patches/libtool-2.4.2.patch?rev=1844

Below is the text of this very simple patch.  It would be great to
have it upstreamed.  Thanks!

Sincerely,

Joseph R. Prostko

--------------------------------------------

From 1357331c2377254665c20173349b3e76f798979f Mon Sep 17 00:00:00 2001
From: "Joseph R. Prostko" <[email protected]>
Date: Wed, 21 Nov 2012 15:55:52 -0500
Subject: [PATCH] * Correct shlibpath_overrides_runpath for Haiku platform

---
 m4/libtool.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 3cf14e7..65068ee 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2523,7 +2523,7 @@ haiku*)
   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
+  shlibpath_overrides_runpath=no
   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib
/boot/system/lib'
   hardcode_into_libs=yes
   ;;
--
1.7.5.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.