diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-09 09:55:38 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-09 09:55:38 +0000 |
commit | 363ebd8bb71db7b99cf7ef3ae03dbee959c4fe89 (patch) | |
tree | d547c468b24c34a6c986373d2779e504d92fdd8a | |
parent | 9697c0ca8bfaaf5b45fbfe4d0bba637d31d13cb7 (diff) | |
download | poky-363ebd8bb71db7b99cf7ef3ae03dbee959c4fe89.tar.gz |
autotools.bbclass: Fix addition of libtool-cross
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1620 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/classes/autotools.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 8fc05cde09..472249d2ea 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -14,7 +14,12 @@ def autotools_dep_prepend(d): | |||
14 | deps += 'autoconf-native automake-native ' | 14 | deps += 'autoconf-native automake-native ' |
15 | 15 | ||
16 | if not pn in ['libtool', 'libtool-native', 'libtool-cross']: | 16 | if not pn in ['libtool', 'libtool-native', 'libtool-cross']: |
17 | deps += 'libtool-native libtool-cross ' | 17 | deps += 'libtool-native ' |
18 | if not bb.data.inherits_class('native', d) \ | ||
19 | and not bb.data.inherits_class('cross', d) \ | ||
20 | and not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, 1): | ||
21 | deps += 'libtool-cross ' | ||
22 | |||
18 | 23 | ||
19 | return deps + 'gnu-config-native ' | 24 | return deps + 'gnu-config-native ' |
20 | 25 | ||