Add link flags from pkg-config for libusb-1.0

Needed when using Mac OS X 10.11, with libusb installed through homebrew
This commit is contained in:
Mike Miller 2016-01-06 16:12:02 +02:00
parent 823631979b
commit 8edfb1290b

View File

@ -1,5 +1,5 @@
CFLAGS?=-O2 -g -Wall -W $(shell pkg-config --cflags librtlsdr)
LDLIBS+=$(shell pkg-config --libs librtlsdr) -lpthread -lm
LDLIBS+=$(shell pkg-config --libs librtlsdr) -lpthread -lm $(shell pkg-config --libs libusb-1.0)
CC?=gcc
PROGNAME=dump1090