aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/autotools.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 8768a6ad687..9abafaf0d72 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -17,6 +17,11 @@ def autotools_dep_prepend(d):
and not d.getVar('INHIBIT_DEFAULT_DEPS'):
deps += 'libtool-cross '
+ if not (d.getVar('INHIBIT_DEFAULT_DEPS') or \
+ bb.data.inherits_class('native', d) or \
+ bb.data.inherits_class('cross', d)):
+ deps += 'glibc-site '
+
return deps + 'gnu-config-native '
DEPENDS_prepend = "${@autotools_dep_prepend(d)} "