recipetool: create: fix support for AX_CHECK_LIBRARY

Clearly I didn't test this part of the code - lists don't have an "add"
method. Needless to say I have tested it now.

(From OE-Core rev: 063ed9058a14775f77e7875d4f6ef5719fa03f18)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2016-03-04 06:44:56 +13:00 committed by Richard Purdie
parent 463fd5ee26
commit afb1d09ced

View File

@ -516,7 +516,7 @@ class AutotoolsRecipeHandler(RecipeHandler):
lib = res.group(2)
if not lib.startswith('$'):
header = res.group(1)
libdeps.add((lib, header))
libdeps.append((lib, header))
elif keyword == 'AC_PATH_X':
deps.append('libx11')
elif keyword in ('AX_BOOST', 'BOOST_REQUIRE'):