dev-libs/opensc: Add elibtoolize to fix cross compiling for arm/arm64
authorJohn L Chen <zuan@chromium.org>
Tue, 21 Apr 2020 20:02:41 +0000 (04:02 +0800)
committerMikle Kolyada <zlogene@gentoo.org>
Wed, 22 Apr 2020 08:31:47 +0000 (11:31 +0300)
commit59cb1b18da5679404b96aefc573b149e66837d97
tree5f6af754832c6ff5f3bcd9e3e6ecc62da50d0f66
parent931194767f5aeea434a4e2bb14f365e00307e6ae
dev-libs/opensc: Add elibtoolize to fix cross compiling for arm/arm64

opensc fails to cross compile for arm/arm64 target because libtool
adds host /usr/lib64 to -L during make install when the libraries are
relinked.

Adding elibtoolize in src_prepare() applies the "cross" patch that
fixes this.

Closes: https://bugs.gentoo.org/718790
Signed-off-by: John L Chen <zuan@chromium.org>
Closes: https://github.com/gentoo/gentoo/pull/15460
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
dev-libs/opensc/opensc-0.20.0.ebuild