From 3709fcb9827d39948fb7b384d2c76caf02de059d Mon Sep 17 00:00:00 2001 From: Jaroslav Skarvada Date: Fri, 1 Sep 2017 06:02:48 -0400 Subject: [PATCH] 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 --- hamlib.pc.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hamlib.pc.in b/hamlib.pc.in index e29453ae9..a08b29726 100644 --- a/hamlib.pc.in +++ b/hamlib.pc.in @@ -1,7 +1,7 @@ prefix=@prefix@ -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ Name: @PACKAGE_NAME@ Description: Library to control radio and rotator equipment.