From: Liangbin Lian Date: Sat, 2 Oct 2021 15:16:23 +0000 (+0800) Subject: zerotier: fix cross compile in macOS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=47d9e21104d750154e9bdbf7e049110908661d07;p=openwrt-packages.git 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 --- diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile index 20a708549..d77de30ef 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)