From 90893b5e83c01b3d952d7117181ccd3a0448112f Mon Sep 17 00:00:00 2001 From: Nick Owens Date: Tue, 27 Feb 2024 13:56:32 -0800 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3_3.12.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { 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 }