libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.4.4-9-g8727e07


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.4-9-g8727e07
Date: Thu, 04 Dec 2014 21:05:22 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  8727e07a166f6822751a4d719fff9a1094ce1619 (commit)
      from  9f52eb3d6c69d1cecf8f938ba0be3e7171404261 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8727e07a166f6822751a4d719fff9a1094ce1619
Author: Gary V. Vaughan <address@hidden>
Date:   Thu Dec 4 17:44:41 2014 +0000

    libtool: for 64bit GNU arches, add /lib64 and /usr/lib64 to 
sys_lib_dlsearch_path.
    
    * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <linux*, k*bsd*-gnu>
    <kopensolaris*-gnu, gnu*>: If $host_cpu contains "64", add /lib64
    and /usr/lib64 to sys_lib_dlsearch_path_spec.
    Reported by Orion Poplawski, Christian Rössel, Olly Betts et. al.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

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

Summary of changes:
 NEWS          |    3 +++
 m4/libtool.m4 |    8 ++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index be3c7f4..6d48d28 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,9 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
     ia64-hp-hpux*, because the default system runtime loader path does
     not contain them.
 
+  - For various GNU/Linux (and other GNU OSes) on 64bit glibc/ELF hosts,
+    explicit /lib64 and /usr/lib64 rpaths are no longer necessary.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 2bbf01b..fd4dfb4 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2796,6 +2796,14 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 
2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < 
/etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[        ]/d;s/[:,      ]/ 
/g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
+  # Ideally we could use /sbin/ldconfig to report what directories are
+  # searched, but (aside from not being certain /sbin/ldconfig is
+  # available) Fedora on 64bit does not report /usr/lib64, even though
+  # it is searched at run-time.
+  case $host_cpu in
+    # match at least x86_64, ia64, powerpc64*
+    *64*) sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 
$sys_lib_dlsearch_path_spec" ;;
+  esac
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on
   # powerpc, because MkLinux only supported shared libraries with the


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]