aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0d80dd0..0a16b32 100644
--- a/Makefile
+++ b/Makefile
@@ -59,8 +59,9 @@ endif
ifdef LINUX_USE_HIDAPI
CFLAGS:=$(CFLAGS) -DHIDAPI
- REDISTS:=$(REDISTS) redist/hid-linux.c
- LDFLAGS:=$(LDFLAGS) -ludev
+ #TODO why doesn't the redist version work
+ #REDISTS:=$(REDISTS) redist/hid-linux.c
+ LDFLAGS:=$(LDFLAGS) -ludev -lhidapi-libusb
endif
ifdef MINIMAL