diff options
author | Koen Kooi <koen@openembedded.org> | 2007-05-17 19:24:23 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-05-17 19:24:23 +0000 |
commit | dd8734fb36d95b8faca5db0a9967f7828fc75433 (patch) | |
tree | 326a78a014ab11806f5e2b0060706e755412c1b6 /classes/autotools.bbclass | |
parent | 3ded06f5504f9a7b60b67aa9e280c3d3da2366f8 (diff) | |
parent | 09d0c6da109b9c875800dd46ff7d848c153322f4 (diff) |
merge of '093b89e2fccb4864b6f56bcb61c6455a90dc384e'
and 'a87cb9fd512dbac5e9ea1f2571e2c946278a28ad'
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r-- | classes/autotools.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 33546e0eb6..3c555751da 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -15,6 +15,10 @@ def autotools_dep_prepend(d): if not pn in ['libtool', 'libtool-native', 'libtool-cross']: deps += 'libtool-native ' + if not bb.data.inherits_class('native', d) \ + and not bb.data.inherits_class('cross', d) \ + and not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, 1): + deps += 'libtool-cross ' return deps + 'gnu-config-native ' |