]> code.ossystems Code Review - openembedded-core.git/commitdiff
recipetool: create: fix support for AX_CHECK_LIBRARY
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 3 Mar 2016 17:44:56 +0000 (06:44 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Mar 2016 23:52:56 +0000 (23:52 +0000)
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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_buildsys.py

index 43dcca3c5b615b96a4b55071adc350aca8b3f317..0228269cf9850910e1314cf3ad0437090184e544 100644 (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'):