From: Nick Owens Date: Tue, 27 Feb 2024 21:56:32 +0000 (-0800) Subject: python3: dont disable readline module for editline X-Git-Tag: 2024-04-scarthgap~328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e92d7dd55d16aa311a95c4e8bb4633e6ebb9900f;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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. Signed-off-by: Nick Owens Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3_3.12.1.bb b/meta/recipes-devtools/python/python3_3.12.1.bb index 771902cd2c1..b4916d8ceff 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 () { 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 }