From: Paul Eggleton Date: Wed, 31 Aug 2016 03:15:55 +0000 (+1200) Subject: recipetool: create: AX_PKG_SWIG should add dependency on swig-native X-Git-Tag: uninative-1.4~246 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2600cd6f6c63ecf79804e2bc6eb6f198a012d5d6;p=openembedded-core.git 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 --- diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py index f784f9468a..0ad748ef02 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':