mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
tcl: fix sed in do_install()
The command:
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
was used for replacing "${WORKDIR}", but it also replaced
"-L${WORKDIR}", but binconfig.bbclass would replace "-L${WORKDIR}", too,
which caused incorrect result, use "'${WORKDIR}" to fix the problem.
(From OE-Core rev: 2edfcbf0291c0d39be4a37348696329eba8a41f8)
(From OE-Core rev: 68960cbdf12de8aaff0f792091f839c987cc0aa0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c5f7a5af37
commit
04ce3a37b6
@@ -55,7 +55,7 @@ do_install() {
|
||||
ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
|
||||
ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
|
||||
sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh
|
||||
sed -i "s;${WORKDIR};${STAGING_INCDIR};g" tclConfig.sh
|
||||
sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh
|
||||
install -d ${D}${bindir_crossscripts}
|
||||
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
|
||||
install -m 0755 tclConfig.sh ${D}${libdir}
|
||||
|
||||
Reference in New Issue
Block a user