diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/autotools.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 8768a6ad68..9abafaf0d7 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)} " |