depends: Add FreeBSD support

This commit is contained in:
Howard Chu 2019-11-11 08:34:47 +00:00
parent 607c01aa56
commit cca6e5c645
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7
9 changed files with 68 additions and 14 deletions

View file

@ -58,6 +58,7 @@ ifeq ($(host_os),)
host_os:=$(findstring linux,$(full_host_os))
endif
host_os+=$(findstring darwin,$(full_host_os))
host_os+=$(findstring freebsd,$(full_host_os))
host_os+=$(findstring mingw32,$(full_host_os))
host_os:=$(strip $(host_os))
ifeq ($(host_os),)
@ -74,6 +75,9 @@ endif
ifeq ($(host_os),linux)
host_cmake=Linux
endif
ifeq ($(host_os),freebsd)
host_cmake=FreeBSD
endif
ifeq ($(host_os),darwin)
host_cmake=Darwin
endif