aboutsummaryrefslogtreecommitdiff
blob: 5f47e1d619cf0337298724f9b091937c1e53c43b (plain)
1
2
3
4
5
6
7
8
9
10
11
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 = \