From 5cb8439015f533ee93f4a4c9442e9c36de62b2f0 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 5 Dec 2013 21:38:16 +0100 Subject: [PATCH] build: fix regression in cross-compilation Regression was introduced in bf90317ad in an attempt to fix the Lua check. --- waftools/checks/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waftools/checks/generic.py b/waftools/checks/generic.py index 4867b2f355..cb291c0589 100644 --- a/waftools/checks/generic.py +++ b/waftools/checks/generic.py @@ -25,7 +25,7 @@ def __merge_options__(dependency_identifier, *args): def _filter_cc_arguments(ctx, opts): if ctx.env.DEST_OS != Utils.unversioned_sys_platform(): # cross compiling, remove execute=True if present - if opts['execute'] == True: + if getattr(opts, 'execute', None) == True: opts['execute'] = False return opts