mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
committed by
Mikle Kolyada
parent
931194767f
commit
59cb1b18da
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1
|
||||
inherit bash-completion-r1 libtool
|
||||
|
||||
DESCRIPTION="Libraries and applications to access smartcards"
|
||||
HOMEPAGE="https://github.com/OpenSC/OpenSC/wiki"
|
||||
@@ -36,6 +36,11 @@ REQUIRED_USE="
|
||||
ctapi? ( !pcsc-lite !openct )
|
||||
|| ( pcsc-lite openct ctapi )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-completiondir="$(get_bashcompdir)" \
|
||||
|
||||
Reference in New Issue
Block a user