diff options
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_:=@ |