diff options
author | John L Chen <zuan@chromium.org> | 2020-04-22 04:02:41 +0800 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-04-22 11:31:47 +0300 |
commit | 59cb1b18da5679404b96aefc573b149e66837d97 (patch) | |
tree | 5f6af754832c6ff5f3bcd9e3e6ecc62da50d0f66 /dev-libs/opensc | |
parent | app-crypt/md6sum: Set CFLAGS+=-fcommon (diff) | |
download | gentoo-59cb1b18da5679404b96aefc573b149e66837d97.tar.gz gentoo-59cb1b18da5679404b96aefc573b149e66837d97.tar.bz2 gentoo-59cb1b18da5679404b96aefc573b149e66837d97.zip |
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>
Diffstat (limited to 'dev-libs/opensc')
-rw-r--r-- | dev-libs/opensc/opensc-0.20.0.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-libs/opensc/opensc-0.20.0.ebuild b/dev-libs/opensc/opensc-0.20.0.ebuild index b5a3fd35a32d..d32490c9e604 100644 --- a/dev-libs/opensc/opensc-0.20.0.ebuild +++ b/dev-libs/opensc/opensc-0.20.0.ebuild @@ -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)" \ |