stdenv: mesonFlags: use canExecute in needs_exe_wrapper
this is more accurate
This commit is contained in:
parent
4885138129
commit
9f309c8792
@ -384,7 +384,7 @@ else let
|
||||
|
||||
crossFile = builtins.toFile "cross-file.conf" ''
|
||||
[properties]
|
||||
needs_exe_wrapper = true
|
||||
needs_exe_wrapper = ${lib.boolToString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform)}
|
||||
|
||||
[host_machine]
|
||||
system = '${stdenv.targetPlatform.parsed.kernel.name}'
|
||||
|
Loading…
Reference in New Issue
Block a user