mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-26 19:08:29 +01:00
222517b506
librtlsdr.pc should declare -lusb-1.0 in Libs.private section to exclude usb library from dynamic linking. References to libusb headers are not needed in Cflags, since these headers are not used by external rtlsdr API, but this is optional. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784912
12 lines
249 B
PkgConfig
12 lines
249 B
PkgConfig
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
|
|
Name: RTL-SDR Library
|
|
Description: C Utility Library
|
|
Version: @VERSION@
|
|
Cflags: -I${includedir}/
|
|
Libs: -L${libdir} -lrtlsdr
|
|
Libs.private: -lusb-1.0 @RTLSDR_PC_LIBS@
|