[oe-commits] [openembedded-core] 03/13: recipetool: create: AX_PKG_SWIG should add dependency on swig-native

git at git.openembedded.org git at git.openembedded.org
Tue Sep 6 22:19:16 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 59463e91af84c72c3e07cd87bf33125f527b49dc
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Tue Sep 6 22:03:24 2016 +1200

    recipetool: create: AX_PKG_SWIG should add dependency on swig-native
    
    If AX_PKG_SWIG is found in configure.ac, then what's being looked for is
    the swig binary, not swig for the target - so fix the dependency
    accordingly.
    
    Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 f784f94..0ad748e 100644
--- a/scripts/lib/recipetool/create_buildsys.py
+++ b/scripts/lib/recipetool/create_buildsys.py
@@ -570,7 +570,7 @@ class AutotoolsRecipeHandler(RecipeHandler):
             elif keyword == 'AX_LIB_TAGLIB':
                 deps.append('taglib')
             elif keyword == 'AX_PKG_SWIG':
-                deps.append('swig')
+                deps.append('swig-native')
             elif keyword == 'AX_PROG_XSLTPROC':
                 deps.append('libxslt-native')
             elif keyword == 'AX_WITH_CURSES':

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list