Skip to content

Commit 341d29e

Browse files
committed
Use $(PlatformShortName) for more portability
1 parent aedf73e commit 341d29e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/OpenWithEx.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<_DefToLib Include="defs\Win64\*.def" />
2626
</ItemGroup>
2727
<Target Name="_GenerateDefLib" BeforeTargets="Link" Inputs="@(_DefToLib)" Outputs="@(_DefToLib->'$(IntDir)%(Filename).lib')">
28-
<Exec Command="lib /nologo /def:&quot;%(_DefToLib.Identity)&quot; /machine:$(PlatformTargetAsMSBuildArchitecture) /out:&quot;$(IntDir)%(Filename).lib&quot;" />
28+
<Exec Command="lib /nologo /def:&quot;%(_DefToLib.Identity)&quot; /machine:$(PlatformShortName) /out:&quot;$(IntDir)%(Filename).lib&quot;" />
2929
</Target>
3030
<PropertyGroup>
3131
<_GeneratedLibs>@(_DefToLib->'%(Filename).lib')</_GeneratedLibs>

0 commit comments

Comments
 (0)