gnucash trunk: Don't hardcode 'swig' in the Makefile (based on suggested patch by "Erik Johansson" <erik at ejohansson.se>

Derek Atkins warlord at code.gnucash.org
Wed Mar 12 15:24:18 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash/commit/ef1a9b79 (commit)
	from  https://github.com/Gnucash/gnucash/commit/26f52b25 (commit)



commit ef1a9b797ff4a09c4e6a45031c79a1e12a88adac
Author: Derek Atkins <derek at ihtfp.com>
Date:   Wed Mar 12 15:23:00 2014 -0400

    Don't hardcode 'swig' in the Makefile
    (based on suggested patch by "Erik Johansson" <erik at ejohansson.se>

diff --git a/src/optional/python-bindings/Makefile.am b/src/optional/python-bindings/Makefile.am
index 57b0eb0..ef624d2 100644
--- a/src/optional/python-bindings/Makefile.am
+++ b/src/optional/python-bindings/Makefile.am
@@ -72,7 +72,7 @@ _gnucash_core_c_includes= \
 
 
 gnucash_core.c: $(SWIG_FILES) ${top_srcdir}/src/base-typemaps.i ${top_srcdir}/src/engine/engine-common.i $(_gnucash_core_c_includes)
-	swig -python -Wall -Werror \
+	$(SWIG) -python -Wall -Werror \
 	-I$(top_srcdir)/src -I$(top_srcdir)/src/engine \
 	-I$(top_srcdir)/src/app-utils -I${top_srcdir}/src/libqof/qof \
 	-o $@ $<



Summary of changes:
 src/optional/python-bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list