From: Alexander Kanavin Date: Thu, 10 Oct 2019 11:18:42 +0000 (+0200) Subject: python3: un-break disabling the readline PACKAGECONFIG X-Git-Tag: yocto-4.0~8615 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79ebbca6943bc66b619671f93ac283ed2cfc8e5c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3: un-break disabling the readline PACKAGECONFIG Previously the readline module would have been built regardless of readline's presence in the sysroot, and the recipe would fail at package_qa. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3_3.7.4.bb b/meta/recipes-devtools/python/python3_3.7.4.bb index 58e2fa5abff..09b942cf3ad 100644 --- a/meta/recipes-devtools/python/python3_3.7.4.bb +++ b/meta/recipes-devtools/python/python3_3.7.4.bb @@ -102,6 +102,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)} EOF }