Skip to content

Commit 3cc52ef

Browse files
committed
Build FreezeProjects with Platform, not PreferredToolArchitecture
Remove also pathcch.lib dependency and use the Python resource.
1 parent db0495d commit 3cc52ef

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎PCbuild/_getcompiler.vcxproj‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,14 @@
100100
<PreprocessorDefinitions>PY_ICON;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101101
</ResourceCompile>
102102
<Link>
103-
<AdditionalDependencies>pathcch.lib;%(AdditionalDependencies)</AdditionalDependencies>
104103
<SubSystem>Console</SubSystem>
105104
</Link>
106105
</ItemDefinitionGroup>
107106
<ItemGroup>
108107
<ClCompile Include="..\Programs\_getcompiler.c" />
109108
</ItemGroup>
110109
<ItemGroup>
111-
<ResourceCompile Include="..\PC\python_exe.rc" />
110+
<ResourceCompile Include="..\PC\python_nt.rc" />
112111
</ItemGroup>
113112
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
114113
<ImportGroup Label="ExtensionTargets">

‎PCbuild/pcbuild.proj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<ItemDefinitionGroup>
2020
<FreezeProjects>
21-
<Platform>$(PreferredToolArchitecture)</Platform>
21+
<Platform>$(Platform)</Platform>
2222
<Configuration>$(Configuration)</Configuration>
2323
<Configuration Condition="$(Configuration) == 'PGInstrument'">Release</Configuration>
2424
<Properties></Properties>

0 commit comments

Comments
 (0)