From 440fee60c991e19e0ce66f98c5ad06d5607c766f Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Fri, 5 Dec 2014 13:29:13 +0000 Subject: [PATCH] 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 --- m4/libtool.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3