Mercurial > libpst
view python/Makefile.am @ 393:ffbb5e3f2551
Add missing linking with zlib and libpthread/librt
The uncompress and sem_* functions are used by various parts of the code
but the files built from that code were not linked with zlib/pthread/rt.
This fixes building with the --no-add-needed linker option.
Fixes: https://bugs.debian.org/604796
author | Paul Wise <pabs3@bonedaddy.net> |
---|---|
date | Mon, 23 Dec 2019 12:23:22 +0800 |
parents | 5b3e7661adad |
children |
line wrap: on
line source
if PYTHON_INTERFACE if PLATFORM_WIN32 NO_UNDEFINED = -no-undefined else NO_UNDEFINED = endif pythonlibdir = $(libdir)/@PYTHON_VERSION@/site-packages pythonlib_LTLIBRARIES = _libpst.la _libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -avoid-version _libpst_la_SOURCES = python-libpst.cpp _libpst_la_LIBADD = -l@BOOST_PYTHON_LIB@ ../src/libpst.la # set the include path found by configure INCLUDES= -I$(srcdir)/.. -I$(srcdir)/../src $(all_includes) -I$(PYTHON_INCLUDE_DIR) endif