zerotier: fix cross compile in macOS
authorLiangbin Lian <redacted>
Sat, 2 Oct 2021 15:16:23 +0000 (23:16 +0800)
committerRosen Penev <redacted>
Sun, 3 Oct 2021 23:36:45 +0000 (16:36 -0700)
zerotier's Makefile use `uname` to detect target when cross compile
uname should always be 'linux'

Signed-off-by: Liangbin Lian <redacted>
net/zerotier/Makefile

index 20a7085498db71c49410a18ba630489e3338c9ab..d77de30ef11f9c49953d534d9b98b994739e5b04 100644 (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)
git clone https://git.99rst.org/PROJECT