diff options
author | fanquake <fanquake@gmail.com> | 2022-01-03 13:21:58 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-01-19 20:38:07 +0800 |
commit | ae9175f6086aa6c177084365c795e78c580eac1d (patch) | |
tree | f41e94a4bdc48897ea39486733b277111d661138 /depends/Makefile | |
parent | 2d7ffce8521aef7f56a03cc6428d3be01cdb1990 (diff) |
build: add FreeBSD support to depends
Diffstat (limited to 'depends/Makefile')
-rw-r--r-- | depends/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/depends/Makefile b/depends/Makefile index 73e2af5501..003778b375 100644 --- a/depends/Makefile +++ b/depends/Makefile @@ -76,6 +76,7 @@ build_vendor=$(word 2,$(subst -, ,$(build))) 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:=$(strip $(build_os)) ifeq ($(build_os),) build_os=$(full_build_os) @@ -86,6 +87,7 @@ host_vendor=$(word 2,$(subst -, ,$(canonical_host))) 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 mingw32,$(full_host_os)) ifeq (android,$(findstring android,$(full_host_os))) |