From 19c17052d6cf9fe29039a1869b799efc0b687dc3 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 7 Feb 2022 12:20:49 +0100 Subject: cython: Fix Windows build --- cython/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v1.1-32-gdbae