From 9f0ded276133e8cc0a0c1d378e61e6937bd581eb Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 14 Oct 2014 02:42:15 +0200 Subject: cython: Use output variables instead of relative paths in Makefile --- cython/Makefile.am | 4 ++-- 1 file 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) -- cgit v1.1-32-gdbae