Browse Source

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>
lilik-openwrt-22.03
Liangbin Lian 3 years ago
committed by Rosen Penev
parent
commit
47d9e21104
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      net/zerotier/Makefile

+ 2
- 1
net/zerotier/Makefile 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)


Loading…
Cancel
Save