From 80b475f159525737e242161397f35d0729449545 Mon Sep 17 00:00:00 2001 From: Igor Cota Date: Thu, 19 Sep 2019 11:43:10 +0200 Subject: [PATCH] Fix Android zlib cross compilation issue (https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar) --- depends/packages/zlib.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/depends/packages/zlib.mk b/depends/packages/zlib.mk index 168f85e65ee..017e7b2cf11 100644 --- a/depends/packages/zlib.mk +++ b/depends/packages/zlib.mk @@ -11,6 +11,7 @@ $(package)_config_opts+=RANLIB="$($(package)_ranlib)" $(package)_config_opts+=AR="$($(package)_ar)" $(package)_config_opts_darwin+=AR="$($(package)_libtool)" $(package)_config_opts_darwin+=ARFLAGS="-o" +$(package)_config_opts_aarch64_android+=CHOST=$(host) endef # zlib has its own custom configure script that takes in options like CC,