Link librtlsdr statically, so we don't need to ship a copy which might conflict with other packages.

This commit is contained in:
Oliver Jowett 2015-07-01 23:37:17 +01:00
parent 2cf1a40eb6
commit 727361c1ab
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ EXTRACFLAGS=-DHTMLPATH=\"$(HTMLDIR)\"
endif
#CFLAGS=-O2 -g -Wall -W `pkg-config --cflags librtlsdr`
CFLAGS+= `pkg-config --cflags librtlsdr`
LIBS=`pkg-config --libs librtlsdr` -lpthread -lm
CFLAGS+=$(shell pkg-config --cflags librtlsdr)
LIBS=-Wl,-Bstatic -lrtlsdr -Wl,-Bdynamic -lusb-1.0 -lpthread -lm
CC=gcc