summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Yves-Alexis Perez2019-06-11 01:29:50 +0200
committerGravatar Nikias Bassen2019-06-11 01:29:50 +0200
commit9920b6610eefcab7932bc8f951bf69a23d3f8d13 (patch)
tree7334f556dd73182ba450e29d5a075110b9b1c830
parent0a3992b78afaf6d0cdbb782c18fc2dfca71e9468 (diff)
downloadlibimobiledevice-9920b6610eefcab7932bc8f951bf69a23d3f8d13.tar.gz
libimobiledevice-9920b6610eefcab7932bc8f951bf69a23d3f8d13.tar.bz2
Use _LIBS instead of _LDFLAGS for cython link
Latest version of AX_PYTHON_DEVEL m4 macro use _LIBS and not LDFLAGS
-rw-r--r--cython/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/cython/Makefile.am b/cython/Makefile.am
index fb9a2e4..6aeaf08 100644
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -1,7 +1,7 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = $(GLOBAL_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(openssl_CFLAGS) $(libplist_CFLAGS) $(LFS_CFLAGS)
-AM_LDFLAGS = $(libgnutls_LIBS) $(libtasn1_LIBS) $(openssl_LIBS) $(libplist_LIBS)
+AM_CFLAGS = $(GLOBAL_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1_CFLAGS) $(openssl_CFLAGS) $(libplist_CFLAGS) $(LFS_CFLAGS) $(PTHREAD_CFLAGS)
+AM_LIBS = $(libgnutls_LIBS) $(libtasn1_LIBS) $(openssl_LIBS) $(libplist_LIBS) $(PTHREAD_LIBS)
if HAVE_CYTHON
@@ -38,7 +38,7 @@ imobiledevicedir = $(pyexecdir)
imobiledevice_LTLIBRARIES = imobiledevice.la
imobiledevice_la_SOURCES = imobiledevice.pyx
imobiledevice_la_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration -fvisibility=default
-imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LDFLAGS) $(AM_LDFLAGS) -no-undefined
+imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LIBS) $(AM_LIBS) -no-undefined
imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice.la
imobiledevice.c: imobiledevice.pyx $(PXDINCLUDES) $(PXIINCLUDES)