summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-02-07 12:20:49 +0100
committerGravatar Nikias Bassen2022-02-07 12:20:49 +0100
commit19c17052d6cf9fe29039a1869b799efc0b687dc3 (patch)
tree053d9d8f846b956845ebb280a21a07bdebfc3bec
parent25e80940c5546e4d637e6a805fabaa63dfef8c1f (diff)
downloadlibplist-19c17052d6cf9fe29039a1869b799efc0b687dc3.tar.gz
libplist-19c17052d6cf9fe29039a1869b799efc0b687dc3.tar.bz2
cython: Fix Windows build
-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: