diff options
author | Igor Cota <igor@codexapertus.com> | 2019-09-19 11:43:10 +0200 |
---|---|---|
committer | Igor Cota <igor@codexapertus.com> | 2019-09-19 11:43:10 +0200 |
commit | 80b475f159525737e242161397f35d0729449545 (patch) | |
tree | 849a538b76fe25653b4534d1e25328c3dff739d5 /depends/packages/zlib.mk | |
parent | 45f82190150b3feef333724ea7395ba080e700b1 (diff) |
Fix Android zlib cross compilation issue (https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar)
Diffstat (limited to 'depends/packages/zlib.mk')
-rw-r--r-- | depends/packages/zlib.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/zlib.mk b/depends/packages/zlib.mk index 168f85e65e..017e7b2cf1 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, |