]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3: dont disable readline module for editline
authorNick Owens <nick.owens@eero.com>
Tue, 27 Feb 2024 21:56:32 +0000 (13:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Feb 2024 09:17:04 +0000 (09:17 +0000)
if we use editline, then the readline module must also be enabled for
python to build the readline module and link it against libedit.

Signed-off-by: Nick Owens <nick.owens@eero.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.12.1.bb

index 771902cd2c1a79fd3edbf37b236e0c93abc6acf0..b4916d8ceff5b4be65c62830fb1b57b8732ed0c5 100644 (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
 }