summaryrefslogtreecommitdiffstats
path: root/packaging/windows/smtk2ssrf-mxe-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/smtk2ssrf-mxe-build.sh')
-rwxr-xr-xpackaging/windows/smtk2ssrf-mxe-build.sh3
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"