libtool.eclass: elibtoolize: add ppc64le handling #580792
authorLeno Hou <lenohou@gmail.com>
Sat, 23 Apr 2016 18:15:05 +0000 (18:15 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 21 Feb 2017 22:50:47 +0000 (17:50 -0500)
commit9beda193cf71f2ca84aef6797d77e8ed6e8c16eb
treefc36689a1a92f139e673e9c521831c379d625d62
parent80ed801a322763a07fa50b04726a1fefb7ee2356
libtool.eclass: elibtoolize: add ppc64le handling #580792

1) We faced unable read SONAME from ${lib} when emerge below packages
   platform               pacakge                 elibtoolized
   ppc64le                app-text/opensp         no
   ppc64le                dev-libs/expat          yes
   ppc64le                net-firewall/iptables   yes
   ppc64le                net-libs/libmnl         no
   ppc64le                sys-apps/acl            yes
   ppc64le                sys-apps/attr           yes
   ppc64le                sys-libs/gdbm           yes
   ppc64le                sys-process/procps      no

2) The problem is due to the wrong $LD="ld -m elf64ppc" when link.
 This patch sets $LD="ld -m elf64lppc" in m4/libtool.m4 on ppc64le.

URL: https://debbugs.gnu.org/23348
eclass/ELT-patches/ppc64le/2.4.2 [new file with mode: 0644]
eclass/ELT-patches/ppc64le/2.4.4 [new file with mode: 0644]
eclass/libtool.eclass