python3: make tkinter available when enabled

After Python upgrade to 3.11, it requires pkg-config to detect
tcl and tk when configure tkinter, so add tcl depends to fix
below error.

| The necessary bits to build these optional modules were not found:
| _tkinter

(From OE-Core rev: 163966765d57fe38e13d0b6659795a13bc702e2d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mingli Yu
2022-11-22 21:38:02 +08:00
committed by Richard Purdie
parent 44a65473a1
commit f68a10b5cf
2 changed files with 2 additions and 0 deletions

View File

@@ -1173,6 +1173,7 @@
"core"
],
"files": [
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so",
"${libdir}/python${PYTHON_MAJMIN}/tkinter"
],
"cached": []