tcl8: fix headers path

During the tcl_8.x removal[0] and its reintegration as tcl8_x[1], BPN
has changed from tcl to tcl8. But, recipes that depends on tcl headers
search the tcl8.6.15 directory where the current recipe generate a
tcl88.6.15 ($BPN+$VERSION) directory.

Fix this by hardcoding the base part of the directory name to "tcl".

(From OE-Core rev: dd8461f27b4a55dbf79baa4a71dc08b127801181)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yoann Congal
2024-11-19 18:39:44 +01:00
committed by Richard Purdie
parent 177db2d9f6
commit d43508969b

View File

@@ -57,8 +57,8 @@ do_install() {
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${libdir}
for dir in compat generic unix; do
install -d ${D}${includedir}/${BPN}${VER}/$dir
install -m 0644 ${S}/$dir/*.h ${D}${includedir}/${BPN}${VER}/$dir/
install -d ${D}${includedir}/tcl${VER}/$dir
install -m 0644 ${S}/$dir/*.h ${D}${includedir}/tcl${VER}/$dir/
done
}