Index: dev-libs/libxml2/files/libxml2-2.7.8-disable_static_modules.patch |
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 0000000000000000000000000000000000000000..5f47e1d619cf0337298724f9b091937c1e53c43b |
--- /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 = \ |