mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
libdc: update MXE build
If the submodule isn't initialized, run git submodule init before running submodule update. Also, ensure that the autotools are set up. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ee0341fd97
commit
472592fe85
1 changed files with 7 additions and 0 deletions
|
@ -157,11 +157,18 @@ if [[ ! -d libgit2 || -f build.libgit2 ]] ; then
|
|||
fi
|
||||
|
||||
# libdivecomputer
|
||||
# ensure the git submodule is present and the autotools are set up
|
||||
|
||||
cd "$BASEDIR"/subsurface
|
||||
if [ ! -d libdivecomputer/src ] ; then
|
||||
git submodule init
|
||||
git submodule update --recursive
|
||||
fi
|
||||
if [ ! -f libdivecomputer/configure ] ; then
|
||||
cd libdivecomputer
|
||||
autoreconf --install
|
||||
autoreconf --install
|
||||
fi
|
||||
|
||||
cd "$BUILDDIR"
|
||||
if [[ ! -d libdivecomputer || -f build.libdivecomputer ]] ; then
|
||||
|
|
Loading…
Reference in a new issue