Browse Source

openzwave: fix compilation with macOS

The Makefiles test for host uname. Override it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
11fe454c8a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/openzwave/Makefile

+ 2
- 1
utils/openzwave/Makefile View File

@ -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…
Cancel
Save