Browse Source

openzwave: Avoid picking host libraries

cpp/examples/MinOZW/Makefile contains this rule:

LIBS =  $(wildcard $(LIBDIR)/*.so $(LIBDIR)/*.dylib $(top_builddir)/*.so
$(top_builddir)/*.dylib $(top_builddir)/cpp/build/*.so
$(top_builddir)/cpp/build/*.dylib )
LIBSDIR = $(abspath $(dir $(firstword $(LIBS))))

with LIBDIR not being defined anywhere we end up picking up host
libraries.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
lilik-openwrt-22.03
Florian Fainelli 7 years ago
parent
commit
6950ee9669
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/openzwave/Makefile

+ 2
- 1
utils/openzwave/Makefile View File

@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openzwave PKG_NAME:=openzwave
PKG_REV:=164 PKG_REV:=164
PKG_VERSION:=1.4.$(PKG_REV) PKG_VERSION:=1.4.$(PKG_REV)
PKG_RELEASE:=1
PKG_RELEASE:=2
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
@ -55,6 +55,7 @@ endef
MAKE_FLAGS += \ MAKE_FLAGS += \
LD="$(TARGET_CROSS)g++" \ LD="$(TARGET_CROSS)g++" \
LIBDIR="$(PKG_BUILD_DIR)" \
PREFIX=$(CONFIGURE_PREFIX) \ PREFIX=$(CONFIGURE_PREFIX) \
instlibdir=/usr/lib \ instlibdir=/usr/lib \
pkgconfigdir=/usr/lib/pkgconfig \ pkgconfigdir=/usr/lib/pkgconfig \


Loading…
Cancel
Save