aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWenZheng Li <wzli@rapyuta-robotics.com>2018-06-13 22:35:34 +0900
committerWenZheng Li <wzli@rapyuta-robotics.com>2018-06-13 22:35:34 +0900
commit65ccd71e7f44baa759e56f3f29b2a825ccebb5f6 (patch)
tree628ad64a42991ba798139cfb5ed6e1c03f9cfe5d /Makefile
parentc1603243eeba3f7f9ff8f9f70098105c634166e5 (diff)
downloadlibsurvive-65ccd71e7f44baa759e56f3f29b2a825ccebb5f6.tar.gz
libsurvive-65ccd71e7f44baa759e56f3f29b2a825ccebb5f6.tar.bz2
changed to distro specific hidapi lib
Diffstat (limited to 'Makefile')
-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