zerotier: fix cross compile in macOS
authorLiangbin Lian <jjm2473@gmail.com>
Sat, 2 Oct 2021 15:16:23 +0000 (23:16 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 20 Mar 2022 23:25:10 +0000 (00:25 +0100)
zerotier's Makefile use `uname` to detect target when cross compile
uname should always be 'linux'

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
net/zerotier/Makefile

index 3014e9ed46e3e74550be5834a95f8a8b16dba200..d77de30ef11f9c49953d534d9b98b994739e5b04 100644 (file)
@@ -46,6 +46,7 @@ endif
 
 MAKE_FLAGS += \
        DEFS="" \
+       OSTYPE="Linux" \
 
 define Build/Compile
        $(call Build/Compile/Default,one)