Skip to content

Commit cf91513

Browse files
committed
Only use Wine as emulator when host arch == target arch.
Also fix Wine binary name (always `wine`; `wine64` is not actually a thing). Part of #96.
1 parent 6feb011 commit cf91513

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,11 @@
3737
<_EmulatorArgumentSuffix>`"</_EmulatorArgumentSuffix>
3838
</PropertyGroup>
3939

40-
<PropertyGroup Condition="'$(TargetSystem)' == 'windows' and '$(TargetBits)' == '32' and '$(IsCrossCompilingArchitecture)' == 'false'">
40+
<PropertyGroup Condition="'$(TargetSystem)' == 'windows' and '$(IsCrossCompilingArchitecture)' == 'false'">
4141
<_EmulatorName>wine</_EmulatorName>
4242
<_EmulatorCommand>wine</_EmulatorCommand>
4343
</PropertyGroup>
4444

45-
<PropertyGroup Condition="'$(TargetSystem)' == 'windows' and '$(TargetBits)' == '64' and '$(IsCrossCompilingArchitecture)' == 'false'">
46-
<_EmulatorName>wine64</_EmulatorName>
47-
<_EmulatorCommand>wine64</_EmulatorCommand>
48-
</PropertyGroup>
49-
5045
<PropertyGroup Condition="'$(IsCrossExecuting)' == 'true' and '$(UseEmulator)' == 'true'">
5146
<EmulatorName>$(_EmulatorName)</EmulatorName>
5247
<EmulatorCommand>$(_EmulatorCommand)</EmulatorCommand>

0 commit comments

Comments
 (0)