summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-11 12:43:27 +0200
committerinfirit <[email protected]>2014-07-11 12:43:27 +0200
commit6ed4ebcf1af8eaead423de1aefe2642f2d75a979 (patch)
tree86ee5d6c7f91066f967b19baf3e94a5ec09e1b65 /src
parentb78ab50d774e22af4e422e8bc6d94f27f0447fce (diff)
downloadpython-caja-6ed4ebcf1af8eaead423de1aefe2642f2d75a979.tar.bz2
python-caja-6ed4ebcf1af8eaead423de1aefe2642f2d75a979.tar.xz
Use pkg-config for python detection and variables
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
1 files changed, 3 insertions, 2 deletions
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)