From 4daba282b8108cf08ef001a7f113a64523f429ed Mon Sep 17 00:00:00 2001 From: Rick Mark Date: Wed, 13 Oct 2021 06:01:31 -0700 Subject: cython: Fix for LibTool compilation and Python 3 libintl On Python 3.9 `libpython` no longer is linkable as a static library due to the fact that `libpython` now depends on `libintl`. This would mean we would have to import `libintl` to create a fully linked .la It is better to be explicit that we are building a .so (really a .dylib but autotools uses linux file conventions) that doesn't have to be fully resolved. --- cython/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cython') diff --git a/cython/Makefile.am b/cython/Makefile.am index 20618d7..4079977 100644 --- a/cython/Makefile.am +++ b/cython/Makefile.am @@ -39,7 +39,7 @@ plist_la_CFLAGS = \ -Wno-implicit-function-declaration \ -fvisibility=default -plist_la_LDFLAGS = -module -avoid-version $(PYTHON_LIBS) $(AM_LDFLAGS) -no-undefined +plist_la_LDFLAGS = -module -avoid-version $(PYTHON_LIBS) $(AM_LDFLAGS) -shared -export-dynamic plist_la_LIBADD = $(top_builddir)/src/libplist-2.0.la plist.c: plist.pyx $(PXDINCLUDES) $(PXIINCLUDES) -- cgit v1.1-32-gdbae