mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
faca48f2b6
commit
70ffdd7624
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue