summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-26 17:31:21 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-26 17:31:21 +0000
commitbd27d09a148625d7a91847a6d880a333c3d198ae (patch)
tree7265e5fa2cc03c30da01799272bad10f8dcbcbe4 /dev-libs/libxslt/files
parentdepend virtual/jpeg (diff)
downloadgentoo-2-bd27d09a148625d7a91847a6d880a333c3d198ae.tar.gz
gentoo-2-bd27d09a148625d7a91847a6d880a333c3d198ae.tar.bz2
gentoo-2-bd27d09a148625d7a91847a6d880a333c3d198ae.zip
Don't install .a files in Python site-packages directories.
(Portage version: 2.2.0_alpha25_p8/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libxslt/files')
-rw-r--r--dev-libs/libxslt/files/libxslt-1.1.26-disable_static_modules.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/libxslt/files/libxslt-1.1.26-disable_static_modules.patch b/dev-libs/libxslt/files/libxslt-1.1.26-disable_static_modules.patch
new file mode 100644
index 000000000000..fad067ff4348
--- /dev/null
+++ b/dev-libs/libxslt/files/libxslt-1.1.26-disable_static_modules.patch
@@ -0,0 +1,12 @@
+--- python/Makefile.am
++++ python/Makefile.am
+@@ -24,7 +24,8 @@
+ libxslt-python-api.xml \
+ $(DOCS)
+
+-libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version
++libxsltmod_la_CPPFLAGS = -shared
++libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version -shared
+
+ if WITH_PYTHON
+ mylibs = \