summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
Diffstat (limited to 'cython')
-rw-r--r--cython/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/cython/Makefile.am b/cython/Makefile.am
index 4079977..bbc51c9 100644
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -42,6 +42,10 @@ plist_la_CFLAGS = \
plist_la_LDFLAGS = -module -avoid-version $(PYTHON_LIBS) $(AM_LDFLAGS) -shared -export-dynamic
plist_la_LIBADD = $(top_builddir)/src/libplist-2.0.la
+if WIN32
+plist_la_LDFLAGS += -no-undefined
+endif
+
plist.c: plist.pyx $(PXDINCLUDES) $(PXIINCLUDES)
.pyx.c: