diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2023-04-10 20:58:16 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-04-13 08:26:08 -0400 |
commit | 207807733e361fae37eca19e4a8b6b0a9244bdac (patch) | |
tree | 84ad0c88263bfa0801bc2f4c0bb8f404ed508a06 | |
parent | e6a91b2f95fe3ace95dc20f7c410ad0a29d57498 (diff) | |
download | meta-openembedded-contrib-207807733e361fae37eca19e4a8b6b0a9244bdac.tar.gz |
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 <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/pahole/pahole_1.22.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.22.bb b/meta-oe/recipes-devtools/pahole/pahole_1.22.bb index 449508a5d5..ec642ec3b2 100644 --- a/meta-oe/recipes-devtools/pahole/pahole_1.22.bb +++ b/meta-oe/recipes-devtools/pahole/pahole_1.22.bb @@ -21,7 +21,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* \ |