summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-06-24 23:13:26 +0300
committerAnuj Mittal <anuj.mittal@intel.com>2020-06-29 13:17:11 +0800
commit4a4413aa521f35414d94f883a74aec3beb628a9a (patch)
tree0764291d23c2149c08179025753c8f582a279c1e
parent033a63507d1ccd423b8023575729ff089614303b (diff)
downloadopenembedded-core-4a4413aa521f35414d94f883a74aec3beb628a9a.tar.gz
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 <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--meta/recipes-devtools/python/python3_3.7.7.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.7.7.bb b/meta/recipes-devtools/python/python3_3.7.7.bb
index be67c81d7c..4d2578c817 100644
--- a/meta/recipes-devtools/python/python3_3.7.7.bb
+++ b/meta/recipes-devtools/python/python3_3.7.7.bb
@@ -107,6 +107,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
}