From: Paul Eggleton Date: Thu, 3 Mar 2016 17:44:56 +0000 (+1300) Subject: recipetool: create: fix support for AX_CHECK_LIBRARY X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26692 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=063ed9058a14775f77e7875d4f6ef5719fa03f18;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py index 43dcca3c5b6..0228269cf98 100644 --- a/scripts/lib/recipetool/create_buildsys.py +++ b/scripts/lib/recipetool/create_buildsys.py @@ -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'):