Skip to content

Commit 82029ac

Browse files
committed
Issue python#27186: add Include/osmodule.h to the proper build rules
1 parent 2518fa8 commit 82029ac

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎Makefile.pre.in‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,7 @@ PYTHON_HEADERS= \
943943
$(srcdir)/Include/objimpl.h \
944944
$(OPCODE_H) \
945945
$(srcdir)/Include/osdefs.h \
946+
$(srcdir)/Include/osmodule.h \
946947
$(srcdir)/Include/patchlevel.h \
947948
$(srcdir)/Include/pgen.h \
948949
$(srcdir)/Include/pgenheaders.h \

‎PCbuild/pythoncore.vcxproj‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
<ClInclude Include="..\Include\odictobject.h" />
125125
<ClInclude Include="..\Include\opcode.h" />
126126
<ClInclude Include="..\Include\osdefs.h" />
127+
<ClInclude Include="..\Include\osmodule.h" />
127128
<ClInclude Include="..\Include\parsetok.h" />
128129
<ClInclude Include="..\Include\patchlevel.h" />
129130
<ClInclude Include="..\Include\pgen.h" />
@@ -417,4 +418,4 @@
417418
<Target Name="_WarnAboutToolset" BeforeTargets="PrepareForBuild" Condition="$(PlatformToolset) != 'v140'">
418419
<Warning Text="Toolset $(PlatformToolset) is not used for official builds. Your build may have errors or incompatibilities." />
419420
</Target>
420-
</Project>
421+
</Project>

‎PCbuild/pythoncore.vcxproj.filters‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@
177177
<ClInclude Include="..\Include\osdefs.h">
178178
<Filter>Include</Filter>
179179
</ClInclude>
180+
<ClInclude Include="..\Include\osmodule.h">
181+
<Filter>Include</Filter>
182+
</ClInclude>
180183
<ClInclude Include="..\Include\parsetok.h">
181184
<Filter>Include</Filter>
182185
</ClInclude>
@@ -983,4 +986,4 @@
983986
<Filter>Resource Files</Filter>
984987
</ResourceCompile>
985988
</ItemGroup>
986-
</Project>
989+
</Project>

0 commit comments

Comments
 (0)