From 8edfb1290b1872c53108b3bd4beb82a3975ebfe9 Mon Sep 17 00:00:00 2001 From: Mike Miller Date: Wed, 6 Jan 2016 16:12:02 +0200 Subject: [PATCH] Add link flags from pkg-config for libusb-1.0 Needed when using Mac OS X 10.11, with libusb installed through homebrew --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f9637b7eb..2a641a8f9 100644 --- a/Makefile +++ b/Makefile @@ -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