From: Vincent Davis Jr Date: Mon, 12 Jun 2023 03:41:10 +0000 (-0500) Subject: spirv-tools: Use baselib instead of base_libdir X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~670 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d492dce274b25889dde19c963f94bf347b69d1df;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git spirv-tools: Use baselib instead of base_libdir Its only the lib name and not absolute base libpath thats needed here. Signed-off-by: Vincent Davis Jr Signed-off-by: Alexandre Belloni --- 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 21f9dd9650f..ba89c35c093 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() { # 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