mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
tcl: Resolve tcl-ptest run failure
Modify the TCL_LIBRARY to the correct value to resolve the following errors caused by multilib: application-specific initialization failed: Cannot find a usable init.tcl in the following directories: /usr/lib/tcl/ptest/library {} /usr/lib64/tcl9.0 /usr/lib64/tcl/lib/tcl9.0 /usr/lib64/lib/tcl9.0 /usr/lib64/tcl/library /usr/lib64/library /usr/lib64/tcl9.0/library /usr/lib64/tcl9.0.0/library /usr/tcl9.0.0/library (From OE-Core rev: 9ae194e7270b84876a51e21941cdd718e15f1e59) Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4ae3f0e0cd
commit
63068d0e34
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
export TCL_LIBRARY=/usr/lib/tcl/ptest/library
|
||||
export TCL_LIBRARY=@libdir@/tcl/ptest/library
|
||||
export ERROR_ON_FAILURES=1
|
||||
export LANG=en-US.UTF-8
|
||||
|
||||
|
|
|
@ -82,6 +82,8 @@ do_install_ptest() {
|
|||
cp ${B}/tcltest ${D}${PTEST_PATH}
|
||||
cp -r ${S}/library ${D}${PTEST_PATH}
|
||||
cp -r ${S}/tests ${D}${PTEST_PATH}
|
||||
# handle multilib
|
||||
sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
|
||||
}
|
||||
|
||||
do_install_ptest:append:libc-musl () {
|
||||
|
|
Loading…
Reference in New Issue
Block a user