aboutsummaryrefslogtreecommitdiff
path: root/depends/Makefile
diff options
context:
space:
mode:
authorIgor Cota <igor@codexapertus.com>2019-05-28 03:12:59 +0200
committerIgor Cota <igor@codexapertus.com>2019-09-19 11:27:18 +0200
commit0b0cff3c61610fb56f8c5c9451ace01598117a8d (patch)
tree09de5b4a590f79b8f7d7e96d707e6e4ec95cf68d /depends/Makefile
parent9bf5768dd628b3a7c30dd42b5ed477a92c4d3540 (diff)
downloadbitcoin-0b0cff3c61610fb56f8c5c9451ace01598117a8d.tar.xz
Add support for building Android dependencies
Diffstat (limited to 'depends/Makefile')
-rw-r--r--depends/Makefile5
1 files changed, 5 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)