From 47d9e21104d750154e9bdbf7e049110908661d07 Mon Sep 17 00:00:00 2001 From: Liangbin Lian Date: Sat, 2 Oct 2021 23:16:23 +0800 Subject: [PATCH] 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 --- net/zerotier/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile index 20a7085498..d77de30ef1 100644 --- a/net/zerotier/Makefile +++ b/net/zerotier/Makefile @@ -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)