On e.g. Ubuntu, swig is available under the name swig2.0. See attached patch.
// Erik -- Erik Johansson Home Page: http://ejohansson.se/ PGP Key: http://ejohansson.se/erik.asc
From cd92fb6e54e5e1baca7e0944086a7838edc41726 Mon Sep 17 00:00:00 2001 From: Erik Johansson <e...@ejohansson.se> Date: Wed, 12 Mar 2014 20:03:26 +0100 Subject: [PATCH] Don't hard code swig name On e.g. Ubuntu, swig is available under the name swig2.0. --- src/optional/python-bindings/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optional/python-bindings/Makefile.am b/src/optional/python-bindings/Makefile.am index 57b0eb0..ff82184 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 $@ $< -- 1.9.0
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel