diff --git a/packaging/android/android-build-wrapper.sh b/packaging/android/android-build-wrapper.sh index 2349bada8..3c024ba17 100755 --- a/packaging/android/android-build-wrapper.sh +++ b/packaging/android/android-build-wrapper.sh @@ -46,7 +46,7 @@ fi # make sure we have the required commands installed MISSING= -for i in git cmake autoconf libtool java ant wget unzip; do +for i in git cmake autoconf libtool java wget unzip; do command -v $i >/dev/null || if [ $i = libtool ] ; then MISSING="${MISSING}libtool-bin " diff --git a/scripts/android/before_install.sh b/scripts/android/before_install.sh index 14b7cb4ff..48c1e8bf7 100644 --- a/scripts/android/before_install.sh +++ b/scripts/android/before_install.sh @@ -10,7 +10,7 @@ git describe docker run -v $PWD:/workspace/subsurface --name=builder -w /workspace -d ubuntu:xenial /bin/sleep 60m docker exec -t builder apt-get update # subsurface android build dependencies -docker exec -t builder apt-get install -y git cmake autoconf libtool-bin openjdk-8-jdk-headless ant wget unzip python bzip2 pkg-config +docker exec -t builder apt-get install -y git cmake autoconf libtool-bin openjdk-8-jdk-headless wget unzip python bzip2 pkg-config # Qt installer dependencies docker exec -t builder apt-get install -y libx11-xcb1 libgl1-mesa-glx libglib2.0-0 # Inject cached 3pp's (if none exists in 3pp dir, we inject zero ones, and all is downloaded in the container)