mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00:00
build: fix regression in cross-compilation
Regression was introduced in bf90317ad
in an attempt to fix the Lua check.
This commit is contained in:
parent
f6e68b33bc
commit
5cb8439015
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user