Fix Android zlib cross compilation issue (https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar)
This commit is contained in:
1 parent
45f8219015
commit
80b475f159
1 file changed
+1
@@ -11,6 +11,7 @@ $(package)_config_opts+=RANLIB="$($(package)_ranlib)"
|
|||||||
$(package)_config_opts+=AR="$($(package)_ar)"
|
$(package)_config_opts+=AR="$($(package)_ar)"
|
||||||
$(package)_config_opts_darwin+=AR="$($(package)_libtool)"
|
$(package)_config_opts_darwin+=AR="$($(package)_libtool)"
|
||||||
$(package)_config_opts_darwin+=ARFLAGS="-o"
|
$(package)_config_opts_darwin+=ARFLAGS="-o"
|
||||||
|
$(package)_config_opts_aarch64_android+=CHOST=$(host)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# zlib has its own custom configure script that takes in options like CC,
|
# zlib has its own custom configure script that takes in options like CC,
|
||||||
|
|||||||
Reference in new issue
Block a user