Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49e554d

Browse files
authored
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
1 parent c450c8c commit 49e554d

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
@@ -595,7 +595,7 @@
595595
</PropertyGroup>
596596
<Message Text="Building $(GitTag):$(GitVersion) $(GitBranch)" Importance="high" />
597597
<ItemGroup>
598-
<ClCompile Condition="$(Filename) == 'getbuildinfo'">
598+
<ClCompile Condition="%(Filename) == 'getbuildinfo'">
599599
<PreprocessorDefinitions>GITVERSION="$(GitVersion)";GITTAG="$(GitTag)";GITBRANCH="$(GitBranch)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
600600
</ClCompile>
601601
</ItemGroup>

0 commit comments

Comments
 (0)