summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-14 02:42:15 +0200
committerGravatar Martin Szulecki2014-10-14 02:42:15 +0200
commit9f0ded276133e8cc0a0c1d378e61e6937bd581eb (patch)
treec5d9a9fbb531e42c0da5ce277eac124a3c77443a /cython
parent77e41d21b8d12ae5e27402aaf2b4c51c03104a61 (diff)
downloadlibplist-9f0ded276133e8cc0a0c1d378e61e6937bd581eb.tar.gz
libplist-9f0ded276133e8cc0a0c1d378e61e6937bd581eb.tar.bz2
cython: Use output variables instead of relative paths in Makefile
Diffstat (limited to 'cython')
-rw-r--r--cython/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/cython/Makefile.am b/cython/Makefile.am
index 1dc8a00..e577637 100644
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -19,9 +19,9 @@ EXTRA_DIST = plist.pyx plist.pxd $(PXIINCLUDES)
plistdir = $(pyexecdir)
plist_LTLIBRARIES = plist.la
plist_la_SOURCES = plist_util.c plist_util.h plist.pyx
-plist_la_CFLAGS = -I../include -I../src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration
+plist_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
plist_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LDFLAGS) $(AM_LDFLAGS)
-plist_la_LIBADD = ../src/libplist.la
+plist_la_LIBADD = $(top_builddir)/src/libplist.la
plist.c: plist.pyx $(PXDINCLUDES) $(PXIINCLUDES)