mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
use pkg-config to find udev library
This commit is contained in:
committed by
Alan Ott
parent
b91198473f
commit
025d81a5a3
@@ -13,8 +13,8 @@ CXX=g++
|
||||
COBJS=hid-libusb.o
|
||||
CPPOBJS=../hidtest/hidtest.o
|
||||
OBJS=$(COBJS) $(CPPOBJS)
|
||||
CFLAGS+=-I../hidapi -Wall -g -c `pkg-config libusb-1.0 --cflags`
|
||||
LIBS=-ludev `pkg-config libusb-1.0 --libs`
|
||||
CFLAGS=-I../hidapi -Wall -g -c `pkg-config libusb-1.0 --cflags`
|
||||
LIBS=`pkg-config libusb-1.0 libudev --libs`
|
||||
|
||||
|
||||
hidtest: $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user