Skip to content

Commit 2d5f4ba

Browse files
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
(cherry picked from commit 49e554d) Co-authored-by: Steve Dower <[email protected]>
1 parent 0c6b3a2 commit 2d5f4ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix initialization of :data:`sys.version` and ``sys._git`` on Windows

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@
585585
</PropertyGroup>
586586
<Message Text="Building $(GitTag):$(GitVersion) $(GitBranch)" Importance="high" />
587587
<ItemGroup>
588-
<ClCompile Condition="$(Filename) == 'getbuildinfo'">
588+
<ClCompile Condition="%(Filename) == 'getbuildinfo'">
589589
<PreprocessorDefinitions>GITVERSION="$(GitVersion)";GITTAG="$(GitTag)";GITBRANCH="$(GitBranch)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
590590
</ClCompile>
591591
</ItemGroup>

0 commit comments

Comments
 (0)