]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3: un-break disabling the readline PACKAGECONFIG
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 24 Jun 2020 20:13:26 +0000 (23:13 +0300)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 29 Jun 2020 05:17:11 +0000 (13:17 +0800)
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>
meta/recipes-devtools/python/python3_3.7.7.bb

index be67c81d7c7487daed4ab78350bb0a404cb80cec..4d2578c8176885ea67a77defe046b864fd0c42bd 100644 (file)
@@ -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
 }