summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-26 17:17:33 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-26 17:17:33 +0000
commita0d3510e57f42109eae8bc7b994a05d72ad9ce16 (patch)
tree9ef5f4fd9b4dcd44af63719f692a8b876c5497c0 /dev-libs/libxml2/files
parentUpdate dependencies. (diff)
downloadgentoo-2-a0d3510e57f42109eae8bc7b994a05d72ad9ce16.tar.gz
gentoo-2-a0d3510e57f42109eae8bc7b994a05d72ad9ce16.tar.bz2
gentoo-2-a0d3510e57f42109eae8bc7b994a05d72ad9ce16.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/libxml2/files')
-rw-r--r--dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch b/dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch
new file mode 100644
index 000000000000..5f47e1d619cf
--- /dev/null
+++ b/dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch
@@ -0,0 +1,12 @@
+--- python/Makefile.am
++++ python/Makefile.am
+@@ -21,7 +21,8 @@
+ libxml.py \
+ libxml2-python-api.xml
+
+-libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version
++libxml2mod_la_CPPFLAGS = -shared
++libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version -shared
+
+ if WITH_PYTHON
+ mylibs = \