summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Davis Jr <vince@underview.tech>2023-06-11 22:41:10 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-15 09:53:38 +0100
commitc26f00fdfa296db92f8a4e3e9e3cd28604d1e93f (patch)
treea46d71aba99b9dd321cc8a6c913139f89f4de22e
parent03b87d72b6a0400ec02f7f2fe7dbf6d705812223 (diff)
downloadpoky-c26f00fdfa296db92f8a4e3e9e3cd28604d1e93f.tar.gz
spirv-tools: Use baselib instead of base_libdir
Its only the lib name and not absolute base libpath thats needed here. (From OE-Core rev: d492dce274b25889dde19c963f94bf347b69d1df) Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb
index 21f9dd9650..ba89c35c09 100644
--- a/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb
@@ -32,7 +32,7 @@ do_install:append:class-target() {
32 # Properly set _IMPORT_PREFIX in INTERFACE_LINK_LIBRARIES so that dependent 32 # Properly set _IMPORT_PREFIX in INTERFACE_LINK_LIBRARIES so that dependent
33 # tools can find the right library 33 # tools can find the right library
34 sed -i ${D}${libdir}/cmake/SPIRV-Tools/SPIRV-ToolsTarget.cmake \ 34 sed -i ${D}${libdir}/cmake/SPIRV-Tools/SPIRV-ToolsTarget.cmake \
35 -e 's:INTERFACE_LINK_LIBRARIES.*$:INTERFACE_LINK_LIBRARIES "\$\{_IMPORT_PREFIX\}\${base_libdir}":' 35 -e 's:INTERFACE_LINK_LIBRARIES.*$:INTERFACE_LINK_LIBRARIES "\$\{_IMPORT_PREFIX\}/${baselib}":'
36} 36}
37 37
38# all the libraries are unversioned, so don't pack it on PN-dev 38# all the libraries are unversioned, so don't pack it on PN-dev