Skip to contentSkip to conversation

spirv-tools: Use baselibdir instead of base_libdir

PATCH Superseded Vincent Davis Jr 1 participant 3 messages Jun 12, 2023

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 spirv-tools: Use baselibdir instead of base_libdir

Its only the lib name and not absolute base
libpath thats needed here.

---
 meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb +1 -1
index 21f9dd9650..b878a2e82d 100644
@@ -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\}\${baselibdir}":'
 }
 
 # all the libraries are unversioned, so don't pack it on PN-dev
Signature · 1 line
2.34.1
#2 lore raw
Quoted 2 lines · Vincent Davis Jr

Ignore PATCH

Nevermind patch should be good