aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2019-10-14 15:16:42 +0200
committerStephane Desneux <stephane.desneux@iot.bzh>2019-10-14 15:16:42 +0200
commit019054dc28dff58b74f6c28be9bb13b3e8460b94 (patch)
tree1ff4f8f7b9cbfc0883b2b158efc1605db6605070
parent826731fde22a34cfbd64035a3f20554a6b50a5cf (diff)
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>
-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@