diff options
Diffstat (limited to 'depends')
-rw-r--r-- | depends/Makefile | 5 | ||||
-rw-r--r-- | depends/hosts/android.mk | 3 | ||||
-rw-r--r-- | depends/packages/openssl.mk | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/depends/Makefile b/depends/Makefile index b7e9a9213e..6643b664f3 100644 --- a/depends/Makefile +++ b/depends/Makefile @@ -55,6 +55,11 @@ full_host_os:=$(subst $(host_arch)-$(host_vendor)-,,$(canonical_host)) host_os:=$(findstring linux,$(full_host_os)) host_os+=$(findstring darwin,$(full_host_os)) host_os+=$(findstring mingw32,$(full_host_os)) + +ifeq (android,$(findstring android,$(full_host_os))) +host_os:=android +endif + host_os:=$(strip $(host_os)) ifeq ($(host_os),) host_os=$(full_host_os) diff --git a/depends/hosts/android.mk b/depends/hosts/android.mk new file mode 100644 index 0000000000..ff1b07d55b --- /dev/null +++ b/depends/hosts/android.mk @@ -0,0 +1,3 @@ +android_AR=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)-ar +android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang++ +android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang diff --git a/depends/packages/openssl.mk b/depends/packages/openssl.mk index db47113b2f..6a316a308e 100644 --- a/depends/packages/openssl.mk +++ b/depends/packages/openssl.mk @@ -57,6 +57,7 @@ $(package)_config_opts_riscv64_linux=linux-generic64 $(package)_config_opts_x86_64_darwin=darwin64-x86_64-cc $(package)_config_opts_x86_64_mingw32=mingw64 $(package)_config_opts_i686_mingw32=mingw +$(package)_config_opts_android=linux-generic64 endef define $(package)_preprocess_cmds |