Pkg config files: use CMAKE_INSTALL_LIBDIR var 31/22631/1 halibut 8.0.3 8.0.4 8.0.5 8.0.6 halibut/8.0.3 halibut/8.0.4 halibut/8.0.5 halibut/8.0.6 halibut_8.0.3 halibut_8.0.4 halibut_8.0.5 halibut_8.0.6
authorStephane Desneux <stephane.desneux@iot.bzh>
Mon, 14 Oct 2019 13:16:42 +0000 (15:16 +0200)
committerStephane Desneux <stephane.desneux@iot.bzh>
Mon, 14 Oct 2019 13:16:42 +0000 (15:16 +0200)
library folders may be lib or lib64
so use cmake CMAKE_INSTALL_LIBDIR variable instead of lib

Bug-AGL: SPEC-2846

(cherry picked from commit 25bb4512a2c2bc66f9eb255a872600f67bd4943f
 original author: clement.benier@iot.bzh)

Change-Id: I7a63052990a5268f971b08c0640b6bb199b272d3
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
afb-helpers-qt.pc.in
afb-helpers.pc.in

index 772aeb6..9a7a5a9 100644 (file)
@@ -18,7 +18,7 @@
 
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
 includedir=${prefix}/include
 
 Name: @TARGET_NAME@-qt
index 513e064..56f632a 100644 (file)
@@ -18,7 +18,7 @@
 
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
 includedir=${prefix}/include
 
 Name: @TARGET_NAME@