dfc43d7286
Thanks to Brent Baude; I backported the fix badly before. Version: 2.4.2-22
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
|
|
index 56666f0..126202f 100644
|
|
--- a/libltdl/m4/libtool.m4
|
|
+++ b/libltdl/m4/libtool.m4
|
|
@@ -1312,7 +1312,7 @@ ia64-*-hpux*)
|
|
rm -rf conftest*
|
|
;;
|
|
|
|
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
|
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
|
|
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|
# Find out which ABI we are using.
|
|
echo 'int i;' > conftest.$ac_ext
|
|
@@ -1326,7 +1326,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|
x86_64-*linux*)
|
|
LD="${LD-ld} -m elf_i386"
|
|
;;
|
|
- ppc64-*linux*|powerpc64-*linux*)
|
|
+ powerpc64le-*linux*)
|
|
+ LD="${LD-ld} -m elf32lppclinux"
|
|
+ ;;
|
|
+ powerpc64-*linux*)
|
|
LD="${LD-ld} -m elf32ppclinux"
|
|
;;
|
|
s390x-*linux*)
|
|
@@ -1345,7 +1348,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|
x86_64-*linux*)
|
|
LD="${LD-ld} -m elf_x86_64"
|
|
;;
|
|
- ppc*-*linux*|powerpc*-*linux*)
|
|
+ powerpcle-*linux*)
|
|
+ LD="${LD-ld} -m elf64lppc"
|
|
+ ;;
|
|
+ powerpc-*linux*)
|
|
LD="${LD-ld} -m elf64ppc"
|
|
;;
|
|
s390*-*linux*|s390*-*tpf*)
|