[OE-core] [PATCH] gdbm: add depend on readline for consistent builds

Jeremy A. Puhlman jpuhlman at mvista.com
Thu Mar 5 00:04:49 UTC 2020


From: Jeremy Puhlman <jpuhlman at mvista.com>

Whether readline is installed on the build host or not
influences the way gdbm builds. Depend on readline for
a consistent build.

This fails to build on a system with readline, and using
the buildtools-extended installer.

Signed-off-by: Jeremy A. Puhlman <jpuhlman at mvista.com>
---
 meta/recipes-support/gdbm/gdbm_1.18.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/gdbm/gdbm_1.18.1.bb b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
index 7e2efe3c9b..5326184181 100644
--- a/meta/recipes-support/gdbm/gdbm_1.18.1.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
@@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f74
 
 inherit autotools gettext texinfo lib_package ptest
 
+DEPENDS_class-native += "readline"
+
 # Needed for dbm python module
 EXTRA_OECONF = "-enable-libgdbm-compat"
 
-- 
2.20.1



More information about the Openembedded-core mailing list