reptyr: fix build on macos

This patch sets UNAME_S=Linux due to OpenWrt is always Linux but
`uname -s` return Darwin on MacOS and fails target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
This commit is contained in:
Sergey V. Lobanov 2022-01-26 22:20:46 +03:00 committed by 1582130940
parent e642f308ba
commit 82b280530e

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=reptyr
PKG_VERSION:=0.8.0
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/nelhage/reptyr/archive/
@ -34,6 +34,7 @@ define Package/reptyr/description
endef
MAKE_FLAGS+= \
UNAME_S=Linux \
PREFIX=/usr
define Package/reptyr/install