summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorNick Owens <nick.owens@eero.com>2024-02-27 13:56:32 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-29 10:26:13 +0000
commit90893b5e83c01b3d952d7117181ccd3a0448112f (patch)
tree37a741b4732ff2236f8bf97879e78b9ca4739966 /meta/recipes-devtools/python
parent78264a5c06492a1c52e3529b75e8d8cf28cac285 (diff)
downloadpoky-90893b5e83c01b3d952d7117181ccd3a0448112f.tar.gz
python3: dont disable readline module for editline
if we use editline, then the readline module must also be enabled for python to build the readline module and link it against libedit. (From OE-Core rev: e92d7dd55d16aa311a95c4e8bb4633e6ebb9900f) Signed-off-by: Nick Owens <nick.owens@eero.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3_3.12.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.12.1.bb b/meta/recipes-devtools/python/python3_3.12.1.bb
index 771902cd2c..b4916d8cef 100644
--- a/meta/recipes-devtools/python/python3_3.12.1.bb
+++ b/meta/recipes-devtools/python/python3_3.12.1.bb
@@ -113,7 +113,7 @@ do_configure:prepend () {
113 cat > ${B}/Modules/Setup.local << EOF 113 cat > ${B}/Modules/Setup.local << EOF
114*disabled* 114*disabled*
115${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)} 115${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)}
116${@bb.utils.contains('PACKAGECONFIG', 'readline', '', 'readline', d)} 116${@bb.utils.contains_any('PACKAGECONFIG', 'readline editline', '', 'readline', d)}
117${@bb.utils.contains('PACKAGECONFIG', 'tk', '', '_tkinter', d)} 117${@bb.utils.contains('PACKAGECONFIG', 'tk', '', '_tkinter', d)}
118EOF 118EOF
119} 119}