Hamlib/hamlib.pc.in
Jaroslav Skarvada 3709fcb982 Fix hardcoded pcconfig libdir
Hi,

on 64 bit distros with /usr/lib64 (e.g Fedora) the hardcoded libdir in
pcconfig is wrong. The attached patch tries to fix it. It also applies
to 3.1

73! Jaroslav, OK2JRQ

Expand variable substituion for hamlib.pc

Further testing showed that 'exec_prefix' and 'includedir' would benefit from
variable substitution by the configure script.

- N0NB
2017-09-03 12:33:00 -05:00

14 lines
368 B
PkgConfig

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: @PACKAGE_NAME@
Description: Library to control radio and rotator equipment.
URL: @PACKAGE_URL@
Version: @PACKAGE_VERSION@
Requires.private: @LIBUSB@
Cflags: -I${includedir} @PTHREAD_CFLAGS@
Libs: -L${libdir} -lhamlib
Libs.private: @MATH_LIBS@ @DL_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@