From 805a94f3a52fcc0c545593af9e4f4e3603c7d52c Mon Sep 17 00:00:00 2001 From: Mike Alexander Date: Sun, 24 Jun 2012 03:09:33 +0000 Subject: [PATCH] Make python bindings build when using a separate build directory. Don't symlink a (possibly non-existant) file from the source tree on top of gnucash_core_c.py which was just generated by swig in the build tree. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22237 57a11ea4-9604-0410-9ed3-97b8803252fd --- 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 ce9ea683f0..7c066273c9 100644 --- a/src/optional/python-bindings/Makefile.am +++ b/src/optional/python-bindings/Makefile.am @@ -109,7 +109,7 @@ PYTHON_LINK_FILES = \ $(RM) -rf gnucash mkdir -p gnucash if GNUCASH_SEPARATE_BUILDDIR - for X in ${PYTHON_LINK_FILES} ; do \ + for X in $(filter-out gnucash_core_c.py,${PYTHON_LINK_FILES}) ; do \ $(LN_S) -f ${srcdir}/$$X . ; \ done endif