summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.10.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/gdbm/gdbm_1.10.bb b/meta/recipes-support/gdbm/gdbm_1.10.bb
index 6b68d27cce..498ad9985e 100644
--- a/meta/recipes-support/gdbm/gdbm_1.10.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.10.bb
@@ -16,6 +16,9 @@ inherit autotools gettext lib_package
# Needed for dbm python module
EXTRA_OECONF = "-enable-libgdbm-compat"
+# Stop presence of dbm/nbdm on the host contaminating builds
+CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
+
BBCLASSEXTEND = "native nativesdk"
do_install_append () {