mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
autotools.bbclass: Fix addition of libtool-cross
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1620 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -14,7 +14,12 @@ def autotools_dep_prepend(d):
|
|||||||
deps += 'autoconf-native automake-native '
|
deps += 'autoconf-native automake-native '
|
||||||
|
|
||||||
if not pn in ['libtool', 'libtool-native', 'libtool-cross']:
|
if not pn in ['libtool', 'libtool-native', 'libtool-cross']:
|
||||||
deps += '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 '
|
return deps + 'gnu-config-native '
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user