diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2023-04-08 00:07:36 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-04-07 16:58:15 -0700 |
commit | 44147c5bb7c42d6530e56468cc87bd00acf22fb4 (patch) | |
tree | 5ebf8d53c95cc6c5a8aae5b0fce1973c08e0624d | |
parent | 3a8e18f038ef086c579d8999926eae499652984c (diff) | |
download | meta-openembedded-44147c5bb7c42d6530e56468cc87bd00acf22fb4.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>
-rw-r--r-- | meta-oe/recipes-devtools/pahole/pahole_1.24.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
20 | 20 | ||
21 | PACKAGECONFIG[python3] = ",,python3-core,python3-core" | 21 | PACKAGECONFIG[python3] = ",,python3-core,python3-core" |
22 | 22 | ||
23 | EXTRA_OECMAKE = "-D__LIB=lib -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=OFF" | 23 | EXTRA_OECMAKE = "-D__LIB=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=OFF" |
24 | 24 | ||
25 | FILES:${PN} = "${bindir}/pahole \ | 25 | FILES:${PN} = "${bindir}/pahole \ |
26 | ${libdir}/libdwarves.so* \ | 26 | ${libdir}/libdwarves.so* \ |