aboutsummaryrefslogtreecommitdiff
path: root/depends/Makefile
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-01-07 13:16:30 +0800
committerfanquake <fanquake@gmail.com>2022-02-10 12:33:10 +0000
commit471d15536f12889077578884fca33d1b0930fd66 (patch)
tree20b3fba56b89048479b7215c7377bf82e9ee6f05 /depends/Makefile
parent75ae39eeec22e56c92f1241ff2ae87ad9a974625 (diff)
downloadbitcoin-471d15536f12889077578884fca33d1b0930fd66.tar.xz
build: add support for OpenBSD to depends
Diffstat (limited to 'depends/Makefile')
-rw-r--r--depends/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/depends/Makefile b/depends/Makefile
index fba30a1d4e..573115d447 100644
--- a/depends/Makefile
+++ b/depends/Makefile
@@ -77,6 +77,7 @@ full_build_os:=$(subst $(build_arch)-$(build_vendor)-,,$(build))
build_os:=$(findstring linux,$(full_build_os))
build_os+=$(findstring darwin,$(full_build_os))
build_os+=$(findstring freebsd,$(full_build_os))
+build_os+=$(findstring openbsd,$(full_build_os))
build_os:=$(strip $(build_os))
ifeq ($(build_os),)
build_os=$(full_build_os)
@@ -88,6 +89,7 @@ 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 freebsd,$(full_host_os))
+host_os+=$(findstring openbsd,$(full_host_os))
host_os+=$(findstring mingw32,$(full_host_os))
ifeq (android,$(findstring android,$(full_host_os)))