Skip to content

Commit

Permalink
Fixed bug 3481 - Configure fails to detect dynamic library support on…
Browse files Browse the repository at this point in the history
… powerpc64le

Sam

I've discovered that when building on powerpc64le (and probably powerpc64) SDL's configure script fails to detect dynamic library support, causing it to build a static library. This causes link failures due to undefined symbols later when packages link with -lSDL.

This seems to be because the included autotools package is too old to detect powerpc64le. This change corrects the problem for me but newer versions of autotools should handle it without a patch
  • Loading branch information
slouken committed Nov 7, 2016
1 parent 0ef4450 commit 8e52316
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion acinclude/libtool.m4
Expand Up @@ -1302,7 +1302,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
x86_64-*linux*)
LD="${LD-ld} -m elf_x86_64"
;;
ppc*-*linux*|powerpc*-*linux*)
powerpc64le-*linux*)
LD="${LD-ld} -m elf64lppc"
;;
powerpc64-*linux*)
LD="${LD-ld} -m elf64ppc"
;;
s390*-*linux*|s390*-*tpf*)
Expand Down

0 comments on commit 8e52316

Please sign in to comment.