aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-04-16 22:35:14 +1000
committerfuzzard <fuzzard@kodi.tv>2022-04-16 22:35:14 +1000
commit84b77c79561f0d219821787c38f1d2e9bf7f6d3c (patch)
tree7fffe2e0dab520f1017eac200d18944e16ba7fcc /tools
parentc1dca062e6a30c38bd5e5989ef6ad1a197d945dd (diff)
[configure] android requires zip on build host
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac
index fb5cbb6c93..deeacae887 100644
--- a/tools/depends/configure.ac
+++ b/tools/depends/configure.ac
@@ -571,14 +571,16 @@ if test "$platform_os" == "android"; then
build_tools_path=$use_sdk_path/tools:$use_sdk_path/platform-tools:$use_sdk_path/build-tools/`ls $use_sdk_path/build-tools | sort $SORT_PARAMS | tail -n 1`
fi
-# darwin needs unzip/zip in Codesign.command
+# darwin needs unzip in Codesign.command
if test "$platform_os" = "android" || test "$platform_os" = "osx" || test "$platform_os" = "darwin_embedded"; then
AC_CHECK_PROG(HAVE_UNZIP,unzip,"yes","no",)
if test "x$HAVE_UNZIP" = "xno"; then
AC_MSG_ERROR("Missing program: unzip")
fi
fi
-if test "$platform_os" = "osx" || test "$platform_os" = "darwin_embedded"; then
+# darwin needs zip in Codesign.command
+# android needs zip in tools/android/packaging/Makefile sharedobb target
+if test "$platform_os" = "android" || test "$platform_os" = "osx" || test "$platform_os" = "darwin_embedded"; then
AC_CHECK_PROG(HAVE_ZIP,zip,"yes","no",)
if test "x$HAVE_ZIP" = "xno"; then
AC_MSG_ERROR("Missing program: zip")