Browse Source

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>
lilik-openwrt-22.03
Sergey V. Lobanov 3 years ago
committed by Josef Schlehofer
parent
commit
373bb8e4e7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/reptyr/Makefile

+ 2
- 1
utils/reptyr/Makefile View File

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


Loading…
Cancel
Save