diff options
author | Howard Chu <hyc@symas.com> | 2019-11-01 03:38:13 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2019-11-03 21:14:45 +0000 |
commit | 643860776e923428d2d2207ec70ead52adcc9272 (patch) | |
tree | c8414b27be7c20b916149a4585e0453a673eae57 /contrib/depends/Makefile | |
parent | Merge pull request #6079 (diff) | |
download | monero-643860776e923428d2d2207ec70ead52adcc9272.tar.xz |
Add Android support
Diffstat (limited to 'contrib/depends/Makefile')
-rw-r--r-- | contrib/depends/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/depends/Makefile b/contrib/depends/Makefile index ec0e4cfae..7eedee15e 100644 --- a/contrib/depends/Makefile +++ b/contrib/depends/Makefile @@ -53,7 +53,10 @@ endif host_arch=$(firstword $(subst -, ,$(canonical_host))) host_vendor=$(word 2,$(subst -, ,$(canonical_host))) full_host_os:=$(subst $(host_arch)-$(host_vendor)-,,$(canonical_host)) +host_os:=$(findstring android,$(full_host_os)) +ifeq ($(host_os),) host_os:=$(findstring linux,$(full_host_os)) +endif host_os+=$(findstring darwin,$(full_host_os)) host_os+=$(findstring mingw32,$(full_host_os)) host_os:=$(strip $(host_os)) @@ -74,6 +77,9 @@ endif ifeq ($(host_os),darwin) host_cmake=Darwin endif +ifeq ($(host_os),android) +host_cmake=Android +endif AT_$(V):= AT_:=@ |