summaryrefslogtreecommitdiffstats
path: root/ctl-lib
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2019-10-01 11:28:15 +0200
committerClément Bénier <clement.benier@iot.bzh>2019-10-01 11:28:15 +0200
commit82ae636ea0544c9ba56c727c41097494873d7438 (patch)
tree32c3f238bb2f3c69175ea9952d65b3c21913bd06 /ctl-lib
parent5a5d52285f32811215c2ffce280c2ac55a5b8599 (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: I805cf4f97a189dc2a489694f682f303e3982a753 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'ctl-lib')
-rw-r--r--ctl-lib/appcontroller.pc.in2
-rw-r--r--ctl-lib/ctl-utilities.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/ctl-lib/appcontroller.pc.in b/ctl-lib/appcontroller.pc.in
index 5980576..2ab76cc 100644
--- a/ctl-lib/appcontroller.pc.in
+++ b/ctl-lib/appcontroller.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@
diff --git a/ctl-lib/ctl-utilities.pc.in b/ctl-lib/ctl-utilities.pc.in
index 0094b54..d4de7e1 100644
--- a/ctl-lib/ctl-utilities.pc.in
+++ b/ctl-lib/ctl-utilities.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: @LEGACY_NAME@