]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: s390x is also a 64bit glibc/ELF platform.
authorGary V. Vaughan <gary@gnu.org>
Fri, 5 Dec 2014 13:29:13 +0000 (13:29 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 5 Dec 2014 13:29:13 +0000 (13:29 +0000)
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LIB): Add s390x to glibc/ELF
compatible CPUs that have /lib64 and /usr/lib64 in
sys_lib_dlsearch_path_spec.
Reported by Pavel Raiskup

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

index fd4dfb40ff18a320748ddabfbfd7d58964fb8e0a..2f52305f0a4d67cdf79c646290030ac18bd84774 100644 (file)
@@ -2801,8 +2801,8 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   # 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" ;;
+    # match at least x86_64, ia64, powerpc64*, s390x (add other glibc/ELF 64bit cpus here):
+    *64*|s390x) 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