From 6ed4ebcf1af8eaead423de1aefe2642f2d75a979 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 11 Jul 2014 12:43:27 +0200 Subject: Use pkg-config for python detection and variables --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index e3d7c3f..dd37d15 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,12 +16,13 @@ libcaja_python_la_CPPFLAGS = \ -DLIBDIR=\"$(libdir)\" \ -DPYTHON_VERSION=\"$(PYTHON_VERSION)\" \ -DPY_LIB_LOC="\"$(PYTHON_LIB_LOC)\"" \ - $(PYTHON_INCLUDES) \ + $(CAJA_PYTHON_CFLAGS) \ $(AM_CPPFLAGS) libcaja_python_la_CFLAGS = \ + $(PYTHON_CFLAGS) $(CAJA_PYTHON_CFLAGS) \ $(AM_CFLAGS) libcaja_python_la_LDFLAGS = -module -avoid-version -libcaja_python_la_LIBADD = $(CAJA_PYTHON_LIBS) $(PYTHON_LIBS) +libcaja_python_la_LIBADD = $(PYTHON_LIBS) $(CAJA_PYTHON_LIBS) -- cgit v1.2.1