From 44147c5bb7c42d6530e56468cc87bd00acf22fb4 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 8 Apr 2023 00:07:36 +0200 Subject: pahole: respect libdir * use the same expression as cmake.bbclass is using: CMAKE_INSTALL_LIBDIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} but ${baselib} should work here as well Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/pahole/pahole_1.24.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.24.bb b/meta-oe/recipes-devtools/pahole/pahole_1.24.bb index b7f1f8bb28..2bb73c3eb7 100644 --- a/meta-oe/recipes-devtools/pahole/pahole_1.24.bb +++ b/meta-oe/recipes-devtools/pahole/pahole_1.24.bb @@ -20,7 +20,7 @@ inherit cmake pkgconfig PACKAGECONFIG[python3] = ",,python3-core,python3-core" -EXTRA_OECMAKE = "-D__LIB=lib -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=OFF" +EXTRA_OECMAKE = "-D__LIB=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=OFF" FILES:${PN} = "${bindir}/pahole \ ${libdir}/libdwarves.so* \ -- cgit v1.2.3-54-g00ecf