summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2014-12-05 13:29:13 +0000
committerGary V. Vaughan <gary@gnu.org>2014-12-05 13:29:13 +0000
commit440fee60c991e19e0ce66f98c5ad06d5607c766f (patch)
tree2feed0d22d276c431eb12a769b5e4dcd6b6fc34f
parent8727e07a166f6822751a4d719fff9a1094ce1619 (diff)
downloadlibtool-440fee60c991e19e0ce66f98c5ad06d5607c766f.tar.gz
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 <gary@gnu.org>
-rw-r--r--m4/libtool.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index fd4dfb40..2f52305f 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