summaryrefslogtreecommitdiff
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-05-18 00:00:36 +0000
committerRod Whitby <rod@whitby.id.au>2007-05-18 00:00:36 +0000
commitca25eb49e43df9c9b0f9fcb301edd9407b1cc269 (patch)
tree326a78a014ab11806f5e2b0060706e755412c1b6 /classes/autotools.bbclass
parent1bfd0edf896c59eff20073addae968457df1b3a9 (diff)
parent7a94b10d320ce33834f6a8cefca505db39cc203d (diff)
merge of '246b0146c14e51a55e58803f7d5d1db831a78ee0'
and '3c1fbc69e461f4db65d841f9f35904b4720e3a4a'
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass4
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 '