--- 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 = \ |