From 8219772e36d1d6b65c150586b9356e95fe6de0d0 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Fri, 13 May 2022 17:32:21 +0900 Subject: [PATCH] Fix lib path in .pc file for 64bit build Change-Id: Ifbacd3262eecff25fa4b38e42a8142aad1ad01c7 Signed-off-by: Hyotaek Shim --- hal-api-sensor.pc | 2 +- packaging/hal-api-sensor.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hal-api-sensor.pc b/hal-api-sensor.pc index 4660d41..be266ef 100644 --- a/hal-api-sensor.pc +++ b/hal-api-sensor.pc @@ -3,7 +3,7 @@ package_name=hal-api-sensor prefix=/usr exec_prefix=/usr/bin/hal -libdir=/usr/lib//hal +libdir=@LIBDIR@/hal includedir=/usr/include/hal Name: ${package_name} diff --git a/packaging/hal-api-sensor.spec b/packaging/hal-api-sensor.spec index ca81eea..fa57960 100644 --- a/packaging/hal-api-sensor.spec +++ b/packaging/hal-api-sensor.spec @@ -52,8 +52,8 @@ Sensor HAL(Hardware Abstraction Layer) Test Cases cp %{SOURCE1} . cp %{SOURCE2} . cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DCMAKE_LIBDIR_PREFIX=%{_libdir} \ - -DHALTEST=on + -DCMAKE_LIBDIR_PREFIX=%{_libdir} \ + -DHALTEST=on make %{?jobs:-j%jobs} %install -- 2.34.1