We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fd27ea commit bdb87dbCopy full SHA for bdb87db
libusb/Makefile.linux
@@ -22,7 +22,7 @@ COBJS_LIBUSB = hid.o
22
COBJS = $(COBJS_LIBUSB)
23
CPPOBJS = ../hidtest/hidtest.o
24
OBJS = $(COBJS) $(CPPOBJS)
25
-LIBS_USB = `pkg-config libusb-1.0 --libs` -lrt
+LIBS_USB = `pkg-config libusb-1.0 --libs` -lrt -lpthread
26
LIBS = $(LIBS_USB)
27
INCLUDES ?= -I../hidapi `pkg-config libusb-1.0 --cflags`
28
testgui/Makefile.linux
@@ -14,7 +14,7 @@ COBJS=../libusb/hid.o
14
CPPOBJS=test.o
15
OBJS=$(COBJS) $(CPPOBJS)
16
CFLAGS=-I../hidapi -Wall -g -c `fox-config --cflags` `pkg-config libusb-1.0 --cflags`
17
-LIBS=-ludev -lrt `fox-config --libs` `pkg-config libusb-1.0 --libs`
+LIBS=-ludev -lrt -lpthread `fox-config --libs` `pkg-config libusb-1.0 --libs`
18
19
20
testgui: $(OBJS)
0 commit comments