diff options
author | Rick Mark | 2021-10-13 06:01:31 -0700 |
---|---|---|
committer | Nikias Bassen | 2022-02-07 10:02:52 +0100 |
commit | 4daba282b8108cf08ef001a7f113a64523f429ed (patch) | |
tree | d1a1e48d550805c702a3ab5cd587fd571b89701d /cython/Makefile.am | |
parent | 366f30b71cc79af1b3c80d98eb219cbc7e5e6b26 (diff) | |
download | libplist-4daba282b8108cf08ef001a7f113a64523f429ed.tar.gz libplist-4daba282b8108cf08ef001a7f113a64523f429ed.tar.bz2 |
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.
Diffstat (limited to 'cython/Makefile.am')
-rw-r--r-- | cython/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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) |