diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2018-10-14 22:02:55 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-15 06:35:14 -0400 |
commit | 70ffdd76248e3a17f734e3e649ba475a631912b6 (patch) | |
tree | 69587fa8ff4777e196f0f2f09a8f16713f81d93e /packaging | |
parent | faca48f2b60e791617f5471d1fe8589b64928a33 (diff) | |
download | subsurface-70ffdd76248e3a17f734e3e649ba475a631912b6.tar.gz |
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>
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/windows/smtk2ssrf-mxe-build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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" |