Change of plan: don't statically link for jessie, but keep the option around for wheezy.
We'll have to do something to populate the udev rules on wheezy when we get to that.
This commit is contained in:
parent
bbb0e4553b
commit
a434e1d076
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -17,7 +17,11 @@ endif
|
|||
CPPFLAGS+=-DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\"
|
||||
CFLAGS+=-O2 -g -Wall -Werror -W
|
||||
LIBS=-lpthread -lm
|
||||
ifeq ($(STATIC), yes)
|
||||
LIBS_RTL=-Wl,-Bstatic -lrtlsdr -Wl,-Bdynamic -lusb-1.0
|
||||
else
|
||||
LIBS_RTL=-lrtlsdr -lusb-1.0
|
||||
endif
|
||||
CC=gcc
|
||||
|
||||
UNAME := $(shell uname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue