mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
03b87d72b6
commit
c26f00fdfa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user