diff options
author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-05-17 17:01:42 +0000 |
---|---|---|
committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-05-17 17:01:42 +0000 |
commit | 09d0c6da109b9c875800dd46ff7d848c153322f4 (patch) | |
tree | 7f7b769c987a65cc38bc27ca396ee0e5cc95cf8c /classes/autotools.bbclass | |
parent | 1a7668c797a0ce8728190d641c3a87d2e9ee312a (diff) | |
parent | 7605d989539a54cb2e6a00fba7cd3943bb9be7ec (diff) |
merge of '0b283e6731fcecb8efe6007eaa4798a26df1938a'
and '49e541f0397109bdc6530a7380f2980a60d577ba'
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 ' |