aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2019-10-01 11:23:05 +0200
committerClément Bénier <clement.benier@iot.bzh>2019-10-01 11:23:05 +0200
commit25bb4512a2c2bc66f9eb255a872600f67bd4943f (patch)
tree9986cbd1fe75468ec0418834c345a9ed2a1ae957
parent547374849a76225b1a6a0dd8bb84ae27a601f19d (diff)
Pkg config files: use CMAKE_INSTALL_LIBDIR var
library folders may be lib or lib64 so use cmake CMAKE_INSTALL_LIBDIR variable instead of lib Bug-AGL: SPEC-2846 Change-Id: I7a63052990a5268f971b08c0640b6bb199b272d3 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
-rw-r--r--afb-helpers-qt.pc.in2
-rw-r--r--afb-helpers.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/afb-helpers-qt.pc.in b/afb-helpers-qt.pc.in
index 772aeb6..9a7a5a9 100644
--- a/afb-helpers-qt.pc.in
+++ b/afb-helpers-qt.pc.in
@@ -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
diff --git a/afb-helpers.pc.in b/afb-helpers.pc.in
index 513e064..56f632a 100644
--- a/afb-helpers.pc.in
+++ b/afb-helpers.pc.in
@@ -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@