From 70ffdd76248e3a17f734e3e649ba475a631912b6 Mon Sep 17 00:00:00 2001 From: Salvador Cuñat Date: Sun, 14 Oct 2018 22:02:55 +0200 Subject: make mdbtools build out-source tree MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mdbver.h is created on the fly by configure script and placed in our $BUILDDIR/include, while the compiler search for it in $SOURCEDIR/include. This could probably be achieved fine-tunning configure script but ... well, it works. Signed-off-by: Salvador Cuñat --- packaging/windows/smtk2ssrf-mxe-build.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packaging') diff --git a/packaging/windows/smtk2ssrf-mxe-build.sh b/packaging/windows/smtk2ssrf-mxe-build.sh index 5253490f7..c3d8f7ac0 100755 --- a/packaging/windows/smtk2ssrf-mxe-build.sh +++ b/packaging/windows/smtk2ssrf-mxe-build.sh @@ -162,6 +162,9 @@ fi --enable-shared=no \ --disable-man \ --disable-gmdb2 +# hack to make mdbtools build outsource +ln -vs "$BUILDDIR"/mdbtools/include/mdbver.h "$BASEDIR"/mdbtools/include/mdbver.h + make $JOBS >/dev/null && make install || \ echo -e "$RED---> Building mdbtools failed ...$LIGHT_GRAY Trying to build with precompiled mxe binaries$DEFAULT" -- cgit v1.2.3-70-g09d2