make mdbtools build out-source tree

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 <salvador.cunat@gmail.com>
This commit is contained in:
Salvador Cuñat 2018-10-14 22:02:55 +02:00 committed by Dirk Hohndel
parent faca48f2b6
commit 70ffdd7624

View file

@ -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"