summary refs log tree commit diff stats
path: root/plugins/python/Makefile.am
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2015-09-30 03:55:42 -0400
committerPatrick Griffis <tingping@tingping.se>2015-09-30 03:55:42 -0400
commitfad8f93ad8079a887bb3b13fb52aeef4ed473513 (patch)
treea59f0ebfaf6e438bbaf6f111e4b702c6f2b3774f /plugins/python/Makefile.am
parent78486b49d5b688ba5054631b849f8959846cf07b (diff)
configure: Clean up Python checking
This fixes requiring to add a version every time
a new release comes out...
Diffstat (limited to 'plugins/python/Makefile.am')
-rw-r--r--plugins/python/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/python/Makefile.am b/plugins/python/Makefile.am
index 063f2009..856c733e 100644
--- a/plugins/python/Makefile.am
+++ b/plugins/python/Makefile.am
@@ -3,6 +3,7 @@ libdir = $(hexchatlibdir)
 lib_LTLIBRARIES = python.la
 python_la_SOURCES = python.c
 python_la_LDFLAGS = $(PLUGIN_LDFLAGS) -module
-python_la_LIBADD = $(PY_LIBS) $(GLIB_LIBS)
-python_la_CFLAGS = $(PY_CFLAGS) $(GLIB_CFLAGS) -I$(top_srcdir)/src/common
+python_la_LIBADD = $(PYTHON_LIBS) $(GLIB_LIBS)
+python_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
+python_la_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)/src/common