build: fix regression in cross-compilation

Regression was introduced in bf90317ad in an attempt to fix the Lua check.
This commit is contained in:
Stefano Pigozzi 2013-12-05 21:38:16 +01:00
parent f6e68b33bc
commit 5cb8439015
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def __merge_options__(dependency_identifier, *args):
def _filter_cc_arguments(ctx, opts): def _filter_cc_arguments(ctx, opts):
if ctx.env.DEST_OS != Utils.unversioned_sys_platform(): if ctx.env.DEST_OS != Utils.unversioned_sys_platform():
# cross compiling, remove execute=True if present # cross compiling, remove execute=True if present
if opts['execute'] == True: if getattr(opts, 'execute', None) == True:
opts['execute'] = False opts['execute'] = False
return opts return opts