Link librtlsdr statically, so we don't need to ship a copy which might conflict with other packages.
This commit is contained in:
parent
2cf1a40eb6
commit
727361c1ab
4
Makefile
4
Makefile
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue