blob: fad067ff4348cd4f6db1c2a18f2e3f5a5d97ae9e [file] [log] [blame]
--- python/Makefile.am
+++ python/Makefile.am
@@ -24,7 +24,8 @@
libxslt-python-api.xml \
$(DOCS)
-libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version
+libxsltmod_la_CPPFLAGS = -shared
+libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version -shared
if WITH_PYTHON
mylibs = \