summaryrefslogtreecommitdiffstats
path: root/cython/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cython/Makefile.am')
-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)