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
2024-02-27 13:56:32 -08:00
committed by Richard Purdie
parent 78264a5c06
commit 90893b5e83

View File

@@ -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
}