]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3: un-break disabling the readline PACKAGECONFIG
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 10 Oct 2019 11:18:42 +0000 (13:18 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Oct 2019 15:55:54 +0000 (16:55 +0100)
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>
meta/recipes-devtools/python/python3_3.7.4.bb

index 58e2fa5abff3116a6e89a023aa32f86ca399dfd0..09b942cf3ad0773d3898254e74dd3928d0fe91b8 100644 (file)
@@ -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
 }