mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Android build: always reconfigure libdivecomputer
This fix makes no difference from usage of this script in Travis context, as every build starts from a clean VM, but the very few developers that build for Android locally, and that want to use the new style docker container builds as well, things are broken. libdivecomputer has build artifacts in its source tree (and that source tree is shared between local and docker run). So it happens that libdivecomputer is configured locally, and afterwards fails to build in docker build as its already configured, but not for the docker image its now running in. The fix is simple. Always reconfigure libdivecomputer when using this script. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
6fb135eb46
commit
20c40ea6b4
1 changed files with 6 additions and 6 deletions
|
@ -126,12 +126,12 @@ if [ ! -d subsurface/libdivecomputer/src ] ; then
|
|||
popd
|
||||
fi
|
||||
|
||||
if [ ! -f subsurface/libdivecomputer/configure ] ; then
|
||||
pushd subsurface/libdivecomputer
|
||||
autoreconf --install
|
||||
autoreconf --install
|
||||
popd
|
||||
fi
|
||||
# always reconfigure here
|
||||
rm -f subsurface/libdivecomputer/configure
|
||||
pushd subsurface/libdivecomputer
|
||||
autoreconf --install --force
|
||||
autoreconf --install --force
|
||||
popd
|
||||
|
||||
# and now we need a monotonic build number...
|
||||
if [ ! -f ./buildnr.dat ] ; then
|
||||
|
|
Loading…
Add table
Reference in a new issue