]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
spirv-tools: Use baselib instead of base_libdir
authorVincent Davis Jr <vince@underview.tech>
Mon, 12 Jun 2023 03:41:10 +0000 (22:41 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Jun 2023 08:49:02 +0000 (09:49 +0100)
Its only the lib name and not absolute base
libpath thats needed here.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb

index 21f9dd9650f68278c604ce3b06c1edd738b65daa..ba89c35c093f2d9d5e756d9c0b7edd56cb049d9b 100644 (file)
@@ -32,7 +32,7 @@ do_install:append:class-target() {
     # Properly set _IMPORT_PREFIX in INTERFACE_LINK_LIBRARIES so that dependent
     # tools can find the right library
     sed -i ${D}${libdir}/cmake/SPIRV-Tools/SPIRV-ToolsTarget.cmake \
-        -e 's:INTERFACE_LINK_LIBRARIES.*$:INTERFACE_LINK_LIBRARIES "\$\{_IMPORT_PREFIX\}\${base_libdir}":'
+        -e 's:INTERFACE_LINK_LIBRARIES.*$:INTERFACE_LINK_LIBRARIES "\$\{_IMPORT_PREFIX\}/${baselib}":'
 }
 
 # all the libraries are unversioned, so don't pack it on PN-dev