From 543c0969d1736ae806250adadd1baafa71f752b3 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 4 Oct 2021 17:25:15 -0700 Subject: [PATCH] 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) --- libs/hiredis/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2