summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-20 17:11:18 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-20 17:38:16 +0100
commitee211b25c5bdb0237712a6fc89a0448c9d63ba5d (patch)
treef45ca8e1860a860dddf93157fc6fedf9df5dc037 /dev-lang
parentsys-apps/dbus-broker: remove old (diff)
downloadgentoo-ee211b25c5bdb0237712a6fc89a0448c9d63ba5d.tar.gz
gentoo-ee211b25c5bdb0237712a6fc89a0448c9d63ba5d.tar.bz2
gentoo-ee211b25c5bdb0237712a6fc89a0448c9d63ba5d.zip
dev-lang/python: Remove static lib in 3.7.6 as well
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/python/python-3.7.6.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-lang/python/python-3.7.6.ebuild b/dev-lang/python/python-3.7.6.ebuild
index 5748c1464149..26ce7fb0b051 100644
--- a/dev-lang/python/python-3.7.6.ebuild
+++ b/dev-lang/python/python-3.7.6.ebuild
@@ -204,6 +204,9 @@ src_install() {
emake DESTDIR="${D}" altinstall
+ # Remove static library
+ rm "${ED}"/usr/$(get_libdir)/libpython*.a || die
+
sed \
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
-e "s/\(PY_LDFLAGS=\).*/\1/" \