Commit f763ae3e authored by Dmitry Marakasov's avatar Dmitry Marakasov
Browse files

Add LIBUSB flags for FreeBSD

parent 5b3a9302
......@@ -43,6 +43,12 @@ ifeq ($(shell uname),Darwin)
LDFLAGS += -framework AppKit -framework Carbon -framework IOKit
ifeq ($(shell uname),FreeBSD)
LIBUSB_LIBDIR := /usr/lib
LIBUSB_LIBS := -lusb
ifeq ($(shell uname),Linux)
LIBUSB_CFLAGS ?= $(shell pkg-config --cflags libusb-1.0)
LIBUSB_LIBDIR ?= $(shell pkg-config --variable=libdir libusb-1.0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment