[OE-core] [PATCH 1/1] recipetool: create: fix support for AX_CHECK_LIBRARY

Paul Eggleton paul.eggleton at linux.intel.com
Thu Mar 3 17:44:56 UTC 2016


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 <paul.eggleton at linux.intel.com>
---
 scripts/lib/recipetool/create_buildsys.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py
index 43dcca3..0228269 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'):
-- 
2.5.0




More information about the Openembedded-core mailing list