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>
This commit is contained in:
Nick Owens authored and Richard Purdie committed 2024-02-29 10:26:13 +00:00
1 parent 78264a5c06
commit 90893b5e83
1 file changed
+1 -1
@@ -113,7 +113,7 @@ do_configure:prepend () {
cat > ${B}/Modules/Setup.local << EOF
*disabled*
${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)}
${@bb.utils.contains('PACKAGECONFIG', 'readline', '', 'readline', d)}
${@bb.utils.contains_any('PACKAGECONFIG', 'readline editline', '', 'readline', d)}
${@bb.utils.contains('PACKAGECONFIG', 'tk', '', '_tkinter', d)}
EOF
}