From: Rosen Penev Date: Tue, 5 Oct 2021 00:25:15 +0000 (-0700) Subject: hiredis: fix compilation with macOS X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=543c0969d1736ae806250adadd1baafa71f752b3;p=feed%2Fpackages.git hiredis: fix compilation with macOS uname is used to test the host OS. Override it. Signed-off-by: Rosen Penev (cherry picked from commit 0ce3a961d39eb6a664088bf77cdf36fdad3bb732) --- diff --git a/libs/hiredis/Makefile b/libs/hiredis/Makefile index 0e77e5e332..3194f132d4 100644 --- a/libs/hiredis/Makefile +++ b/libs/hiredis/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hiredis PKG_VERSION:=1.0.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/redis/hiredis/tar.gz/v$(PKG_VERSION)? @@ -35,7 +35,7 @@ define Package/libhiredis/description Hiredis is a minimalistic C client library for the Redis database. endef -MAKE_FLAGS += ARCH="" DEBUG="" PREFIX="/usr" +MAKE_FLAGS += ARCH="" DEBUG="" PREFIX="/usr" uname_S="Linux" define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/hiredis/adapters