summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-10-10 13:18:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-10 16:55:54 +0100
commit79ebbca6943bc66b619671f93ac283ed2cfc8e5c (patch)
treeb331bc249d8e043ec9c24affa29e0283bdfeac5c
parent02eb487c8145e0f3d957c39cf16f6f805e95e536 (diff)
downloadopenembedded-core-79ebbca6943bc66b619671f93ac283ed2cfc8e5c.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>
-rw-r--r--meta/recipes-devtools/python/python3_3.7.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.7.4.bb b/meta/recipes-devtools/python/python3_3.7.4.bb
index 58e2fa5abf..09b942cf3a 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
}