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
4
Makefile
4
Makefile
|
@ -17,7 +17,11 @@ endif
|
||||||
CPPFLAGS+=-DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\"
|
CPPFLAGS+=-DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\"
|
||||||
CFLAGS+=-O2 -g -Wall -Werror -W
|
CFLAGS+=-O2 -g -Wall -Werror -W
|
||||||
LIBS=-lpthread -lm
|
LIBS=-lpthread -lm
|
||||||
|
ifeq ($(STATIC), yes)
|
||||||
LIBS_RTL=-Wl,-Bstatic -lrtlsdr -Wl,-Bdynamic -lusb-1.0
|
LIBS_RTL=-Wl,-Bstatic -lrtlsdr -Wl,-Bdynamic -lusb-1.0
|
||||||
|
else
|
||||||
|
LIBS_RTL=-lrtlsdr -lusb-1.0
|
||||||
|
endif
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
|
||||||
UNAME := $(shell uname)
|
UNAME := $(shell uname)
|
||||||
|
|
Loading…
Reference in a new issue