From: Gary V. Vaughan Date: Fri, 5 Dec 2014 13:29:13 +0000 (+0000) Subject: libtool: s390x is also a 64bit glibc/ELF platform. X-Git-Tag: v2.4.5~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=440fee6;p=thirdparty%2Flibtool.git libtool: s390x is also a 64bit glibc/ELF platform. * 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 --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index fd4dfb40f..2f52305f0 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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