Merge pull request #112 from WIZARDISHUNGRY/mutability-homebrew

Use pkg-config for libusb, too, to work around pkg-config not generating the right link line for it.
This commit is contained in:
Oliver Jowett 2016-03-31 19:45:04 +01:00
commit e8919eada3

View file

@ -17,7 +17,7 @@ endif
CPPFLAGS+=-DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" CPPFLAGS+=-DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\"
CFLAGS+=-O2 -g -Wall -Werror -W CFLAGS+=-O2 -g -Wall -Werror -W
LIBS=-lpthread -lm LIBS=-lpthread -lm
LIBS_RTL=`pkg-config --libs librtlsdr` LIBS_RTL=`pkg-config --libs librtlsdr libusb-1.0`
CC=gcc CC=gcc
UNAME := $(shell uname) UNAME := $(shell uname)