aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-05-15 12:52:57 +0000
committerKoen Kooi <koen@openembedded.org>2007-05-15 12:52:57 +0000
commit002caab239157d1062a3f49b62efb06ef0489280 (patch)
treed8a1d1b7cdf6df0ce608e0487bc53b7cb34fc474 /classes
parent0d0b837b8a9c247f7ca16f6efafc33eaedaf7b3f (diff)
downloadopenembedded-002caab239157d1062a3f49b62efb06ef0489280.tar.gz
openembedded-002caab239157d1062a3f49b62efb06ef0489280.tar.bz2
openembedded-002caab239157d1062a3f49b62efb06ef0489280.zip
libtool, autotools.bbclass: merge fixes for 1.5.10 from poky
* NOTE: 1.5.22 has to be updated as well
Diffstat (limited to 'classes')
-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 '