zerotier: fix cross compile in macOS

zerotier's Makefile use `uname` to detect target when cross compile
uname should always be 'linux'

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
This commit is contained in:
Liangbin Lian 2021-10-02 23:16:23 +08:00 committed by Rosen Penev
parent 1e6b05fd39
commit 47d9e21104
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=zerotier
PKG_VERSION:=1.6.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/zerotier/ZeroTierOne/tar.gz/$(PKG_VERSION)?
@ -46,6 +46,7 @@ endif
MAKE_FLAGS += \
DEFS="" \
OSTYPE="Linux" \
define Build/Compile
$(call Build/Compile/Default,one)