diff options
author | Sam James <sam@gentoo.org> | 2020-12-27 20:34:06 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-27 20:34:06 +0000 |
commit | 364092298b767b348cdcda3a7d191d3c78f4d514 (patch) | |
tree | acbaa989f8bc7b5b0b35cd08ee3a24c14ac961c7 /dev-embedded | |
parent | dev-embedded/libftdi: add missing tests patch to :1 (diff) | |
download | gentoo-364092298b767b348cdcda3a7d191d3c78f4d514.tar.gz gentoo-364092298b767b348cdcda3a7d191d3c78f4d514.tar.bz2 gentoo-364092298b767b348cdcda3a7d191d3c78f4d514.zip |
dev-embedded/libftdi: respect USE=static-libs with :0
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/libftdi/libftdi-0.20-r1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-embedded/libftdi/libftdi-0.20-r1.ebuild b/dev-embedded/libftdi/libftdi-0.20-r1.ebuild index 4da9cd2541f5..fa153fa8edcd 100644 --- a/dev-embedded/libftdi/libftdi-0.20-r1.ebuild +++ b/dev-embedded/libftdi/libftdi-0.20-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://www.intra2net.com/en/developer/libftdi/" LICENSE="LGPL-2" SLOT="0" -IUSE="cxx doc examples python" +IUSE="cxx doc examples python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" BDEPEND=" @@ -60,6 +60,7 @@ src_configure() { -DPYTHON_BINDINGS=$(usex python) -DCMAKE_SKIP_BUILD_RPATH=ON ) + cmake_src_configure } @@ -79,4 +80,6 @@ src_install() { docinto examples dodoc examples/*.c fi + + use static-libs || rm "${ED}"/usr/$(get_libdir)/${PN}.a || die } |