Skip to content

Commit 9a777f5

Browse files
committed
Simplify some host platform checks.
1 parent 8916d4b commit 9a777f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sdk/build/Vezel.Zig.Sdk.Emulator.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
</PropertyGroup>
3131

3232
<!-- TODO: https://github.com/vezel-dev/zig-sdk/issues/6 -->
33-
<PropertyGroup Condition="'$(TargetSystem)' == 'macos' and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x86_64') and '$(HostSystem)' == 'linux' and '$(HostArchitecture)' == 'x86_64'">
33+
<PropertyGroup Condition="'$(TargetSystem)' == 'macos' and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x86_64') and '$(HostSystem)-$(HostArchitecture)' == 'linux-x86_64'">
3434
<_EmulatorName>darling</_EmulatorName>
3535
<_EmulatorCommand>darling</_EmulatorCommand>
3636
</PropertyGroup>
3737

3838
<!-- TODO: https://github.com/vezel-dev/zig-sdk/issues/6 -->
39-
<PropertyGroup Condition="'$(TargetSystem)' == 'macos' and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x86_64') and '$(HostSystem)' == 'windows' and '$(HostArchitecture)' == 'x86_64'">
39+
<PropertyGroup Condition="'$(TargetSystem)' == 'macos' and ('$(TargetArchitecture)' == 'x86' or '$(TargetArchitecture)' == 'x86_64') and '$(HostSystem)-$(HostArchitecture)' == 'windows-x86_64'">
4040
<_EmulatorName>wsl darling</_EmulatorName>
4141
<_EmulatorCommand>wsl</_EmulatorCommand>
4242
<_EmulatorArgumentPrefix>darling "`wslpath </_EmulatorArgumentPrefix>

0 commit comments

Comments
 (0)