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:
parent
589c6bb2de
commit
11fe454c8a
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=openzwave
|
PKG_NAME:=openzwave
|
||||||
PKG_VERSION:=1.6.1149
|
PKG_VERSION:=1.6.1149
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://old.openzwave.com/downloads
|
PKG_SOURCE_URL:=http://old.openzwave.com/downloads
|
||||||
|
@ -57,6 +57,7 @@ MAKE_FLAGS += \
|
||||||
LD="$(TARGET_CROSS)g++" \
|
LD="$(TARGET_CROSS)g++" \
|
||||||
LIBDIR="$(PKG_BUILD_DIR)" \
|
LIBDIR="$(PKG_BUILD_DIR)" \
|
||||||
PREFIX=$(CONFIGURE_PREFIX) \
|
PREFIX=$(CONFIGURE_PREFIX) \
|
||||||
|
UNAME="Linux" \
|
||||||
USE_HID="no" \
|
USE_HID="no" \
|
||||||
ar_option="q" \
|
ar_option="q" \
|
||||||
instlibdir=/usr/lib \
|
instlibdir=/usr/lib \
|
||||||
|
|
Loading…
Reference in a new issue