diff options
| author | Koen Kooi <koen@openembedded.org> | 2007-05-15 12:55:30 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@openembedded.org> | 2007-05-15 12:55:30 +0000 |
| commit | ffc3b085d02fd07bbb0e24a71fa4b4d442b999a4 (patch) | |
| tree | 97747789099a3be3cf608b3b05872cfbe0e7dfb1 /classes | |
| parent | 3eef0ac777ef9fe0983e40d70135c57183988ecc (diff) | |
| parent | 002caab239157d1062a3f49b62efb06ef0489280 (diff) | |
merge of '89852768a5c62b0d92f57ecb8aa98eecfba1c740'
and 'd03e5ca1084f5be98ee7abe28783d5017ed90397'
Diffstat (limited to 'classes')
| -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 ' |
