aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'livecd-overlay/usr/local/portage/dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch')
-rw-r--r--livecd-overlay/usr/local/portage/dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/livecd-overlay/usr/local/portage/dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch b/livecd-overlay/usr/local/portage/dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch
new file mode 100644
index 0000000..5f47e1d
--- /dev/null
+++ b/livecd-overlay/usr/local/portage/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 = \