blob: 5f47e1d619cf0337298724f9b091937c1e53c43b [file] [log] [blame]
--- 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 = \