openzwave: fix compilation with macOS

The Makefiles test for host uname. Override it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2021-10-04 17:22:34 -07:00 committed by 1582130940
parent be6f147882
commit fde5e54c72

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openzwave
PKG_VERSION:=1.6.1149
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://old.openzwave.com/downloads
@ -57,6 +57,7 @@ MAKE_FLAGS += \
LD="$(TARGET_CROSS)g++" \
LIBDIR="$(PKG_BUILD_DIR)" \
PREFIX=$(CONFIGURE_PREFIX) \
UNAME="Linux" \
USE_HID="no" \
ar_option="q" \
instlibdir=/usr/lib \