commit aa9202facb11a5f02f8ca29458f8a0a5241ad0d8
parent 01c642aeb7c7e4f1eb958c09b8a56c7a57c6227c
Author: Hirokazu MORIKAWA <register@nxhack.com>
Date: Wed, 18 May 2016 14:54:38 +0900
node-hid: fix compile error
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lang/node-hid/Makefile b/lang/node-hid/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NPM_NAME:=hid
PKG_NAME:=node-$(PKG_NPM_NAME)
PKG_VERSION:=0.5.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/node-hid/node-hid.git
@@ -43,8 +43,7 @@ endef
CPU:=$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))
-EXTRA_LDFLAGS+="-lhidapi-libusb"
-EXTRA_CFLAGS+="-I$(STAGING_DIR)/usr/include/hidapi/"
+EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include/libusb-1.0
define Build/Compile
$(MAKE_VARS) \