mirror of
https://git.wownero.com/wownero/wownero-puddle.git
synced 2024-08-15 01:03:20 +00:00
link libhidapi if required
This commit is contained in:
parent
de089698d2
commit
9c6ef738f1
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -115,6 +115,12 @@ else
|
||||||
boost_serialization boost_program_options
|
boost_serialization boost_program_options
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
HID_FOUND := $(shell grep -qo HIDAPI_LIBRARY-NOTFOUND \
|
||||||
|
${MONERO_BUILD_ROOT}/CMakeCache.txt; echo $$?)
|
||||||
|
ifeq ($(HID_FOUND), 1)
|
||||||
|
LIBS += hidapi-libusb
|
||||||
|
endif
|
||||||
|
|
||||||
PKG_LIBS := $(shell pkg-config \
|
PKG_LIBS := $(shell pkg-config \
|
||||||
"libevent >= 2.1" \
|
"libevent >= 2.1" \
|
||||||
json-c \
|
json-c \
|
||||||
|
|
Loading…
Reference in a new issue