Skip to content

Commit 44c1b62

Browse files
zoobalarryhastings
authored andcommitted
[3.5] bpo-31170: Fix inclusion of expat in Windows build projects. (#3751)
* bpo-31170: Fix inclusion of expat in Windows build projects. * Fixes line endings
1 parent f2492bb commit 44c1b62

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

PCbuild/_elementtree.vcxproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
<ClInclude Include="..\Modules\expat\xmltok.h" />
8787
</ItemGroup>
8888
<ItemGroup>
89+
<ClCompile Include="..\Modules\expat\loadlibrary.c" />
8990
<ClCompile Include="..\Modules\_elementtree.c" />
9091
<ClCompile Include="..\Modules\expat\xmlparse.c" />
9192
<ClCompile Include="..\Modules\expat\xmlrole.c" />
@@ -103,4 +104,4 @@
103104
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
104105
<ImportGroup Label="ExtensionTargets">
105106
</ImportGroup>
106-
</Project>
107+
</Project>

PCbuild/_elementtree.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,11 @@
6868
<ClCompile Include="..\Modules\expat\xmltok.c">
6969
<Filter>Source Files</Filter>
7070
</ClCompile>
71+
<ClCompile Include="..\Modules\expat\loadlibrary.c">
72+
<Filter>Source Files</Filter>
73+
</ClCompile>
74+
</ItemGroup>
75+
<ItemGroup>
76+
<ResourceCompile Include="..\PC\python_nt.rc" />
7177
</ItemGroup>
7278
</Project>

PCbuild/pyexpat.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<ClInclude Include="..\Modules\expat\xmltok.h" />
6868
</ItemGroup>
6969
<ItemGroup>
70+
<ClCompile Include="..\Modules\expat\loadlibrary.c" />
7071
<ClCompile Include="..\Modules\pyexpat.c" />
7172
<ClCompile Include="..\Modules\expat\xmlparse.c" />
7273
<ClCompile Include="..\Modules\expat\xmlrole.c" />

PCbuild/pyexpat.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,11 @@
2929
<ClCompile Include="..\Modules\expat\xmltok.c">
3030
<Filter>Source Files</Filter>
3131
</ClCompile>
32+
<ClCompile Include="..\Modules\expat\loadlibrary.c">
33+
<Filter>Source Files</Filter>
34+
</ClCompile>
35+
</ItemGroup>
36+
<ItemGroup>
37+
<ResourceCompile Include="..\PC\python_nt.rc" />
3238
</ItemGroup>
3339
</Project>

0 commit comments

Comments
 (0)