We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3a930 commit f763ae3Copy full SHA for f763ae3
lmicdiusb/Makefile
@@ -43,6 +43,12 @@ ifeq ($(shell uname),Darwin)
43
LDFLAGS += -framework AppKit -framework Carbon -framework IOKit
44
endif
45
46
+ifeq ($(shell uname),FreeBSD)
47
+ LIBUSB_CFLAGS :=
48
+ LIBUSB_LIBDIR := /usr/lib
49
+ LIBUSB_LIBS := -lusb
50
+endif
51
+
52
ifeq ($(shell uname),Linux)
53
LIBUSB_CFLAGS ?= $(shell pkg-config --cflags libusb-1.0)
54
LIBUSB_LIBDIR ?= $(shell pkg-config --variable=libdir libusb-1.0)
0 commit comments