Static link against librtlsdr.

This commit is contained in:
Oliver Jowett 2016-02-29 14:20:34 +00:00
parent ccb9a6c034
commit bbb0e4553b
3 changed files with 20 additions and 1 deletions

View file

@ -17,7 +17,7 @@ endif
CPPFLAGS+=-DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\"
CFLAGS+=-O2 -g -Wall -Werror -W
LIBS=-lpthread -lm
LIBS_RTL=`pkg-config --libs librtlsdr`
LIBS_RTL=-Wl,-Bstatic -lrtlsdr -Wl,-Bdynamic -lusb-1.0
CC=gcc
UNAME := $(shell uname)

18
debian/README.librtlsdr vendored Normal file
View file

@ -0,0 +1,18 @@
This package includes binaries that are statically linked against librtlsdr,
which is licensed under the GPL:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
The upstream source is available at https://github.com/steve-m/librtlsdr

1
debian/dump1090-fa.docs vendored Normal file
View file

@ -0,0 +1 @@
debian/README.librtlsdr