From 4a84fca9b1867636e82243e937ecf205c81fdfff Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 30 Nov 2017 13:32:57 -0800 Subject: [PATCH] Add GLIB_CFLAGS and srcdir to SWIG includes. --- bindings/python/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index 06e8e81d6b..1a6c883d39 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -71,8 +71,9 @@ _gnucash_core_c_includes= \ gnucash_core.c: $(SWIG_FILES) ${top_srcdir}/common/base-typemaps.i ${top_srcdir}/libgnucash/engine/engine-common.i $(_gnucash_core_c_includes) $(SWIG) -python -Wall -Werror \ - -I$(top_srcdir)/common -I$(top_srcdir)/libgnucash/engine \ - -I$(top_srcdir)/libgnucash/app-utils -o $@ $< + -I$(GLIB_CFLAGS) -I$(top_srcdir)/common \ + -I$(top_srcdir)/libgnucash/engine \ + -I$(top_srcdir)/libgnucash/app-utils -I${srcdir} -o $@ $< gnucash_core_c.py: gnucash_core.c $(SWIG_FILES) endif