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:
commit
e8919eada3
2
Makefile
2
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue