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:
Oliver Jowett 2016-03-02 17:32:53 +00:00
parent bbb0e4553b
commit a434e1d076

View file

@ -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)