Static link against librtlsdr.

This commit is contained in:
Oliver Jowett 2016-02-29 14:20:34 +00:00
parent ccb9a6c034
commit bbb0e4553b
3 changed files with 20 additions and 1 deletions

View file

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