From fad8f93ad8079a887bb3b13fb52aeef4ed473513 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Wed, 30 Sep 2015 03:55:42 -0400 Subject: configure: Clean up Python checking This fixes requiring to add a version every time a new release comes out... --- plugins/python/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/python') 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 -- cgit 1.4.1