summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2021-02-22 00:48:04 +0100
committerSebastian Pipping <sping@gentoo.org>2021-02-22 00:49:18 +0100
commite5b0261c5a2f4225c909cdcb5268ff55ffebc447 (patch)
tree9db37f3a860e1c589d1fbee411e86bc92f05b4db
parentnet-libs/libaxc: Add flag static-libs (diff)
downloadgentoo-e5b0261c5a2f4225c909cdcb5268ff55ffebc447.tar.gz
gentoo-e5b0261c5a2f4225c909cdcb5268ff55ffebc447.tar.bz2
gentoo-e5b0261c5a2f4225c909cdcb5268ff55ffebc447.zip
net-libs/libomemo: Add flag static-libs
Closes: https://bugs.gentoo.org/771993 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2
-rw-r--r--net-libs/libomemo/libomemo-0.7.1-r1.ebuild (renamed from net-libs/libomemo/libomemo-0.7.1.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-libs/libomemo/libomemo-0.7.1.ebuild b/net-libs/libomemo/libomemo-0.7.1-r1.ebuild
index 3e2871fed157..8a2cf69b5d43 100644
--- a/net-libs/libomemo/libomemo-0.7.1.ebuild
+++ b/net-libs/libomemo/libomemo-0.7.1-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/gkdr/libomemo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="static-libs"
RDEPEND="
dev-db/sqlite
@@ -43,4 +43,8 @@ src_install() {
fi
einstalldocs
+
+ if ! use static-libs ; then
+ rm "${D}/usr/${libdir}/libomemo.a" || die
+ fi
}