The project sets libdir path to /usr/lib [1] which is not always
correct and results in failures when $libdir, as an example, is
/usr/lib64. Set the correct value of LIBDIR.

[1] https://github.com/xdp-project/xdp-tools/blob/v1.2/lib/defines.mk#L11

Signed-off-by: Anuj Mittal <[email protected]>
---
 .../clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb 
b/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb
index 6744554..99c435d 100644
--- a/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb
+++ b/dynamic-layers/clang-layer/recipes-support/xdp-tools/xdp-tools_1.2.8.bb
@@ -21,7 +21,7 @@ S = "${WORKDIR}/git"
 
 inherit pkgconfig
 
-EXTRA_OEMAKE += "PREFIX=${D}${prefix}"
+EXTRA_OEMAKE += "PREFIX=${D}${prefix} LIBDIR=${D}${libdir}"
 
 export STAGING_INCDIR
 
-- 
2.37.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7802): 
https://lists.yoctoproject.org/g/meta-intel/message/7802
Mute This Topic: https://lists.yoctoproject.org/mt/96652380/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to