Skip to content

Commit

Permalink
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba authored Nov 21, 2022
1 parent c450c8c commit 49e554d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix initialization of :data:`sys.version` and ``sys._git`` on Windows
2 changes: 1 addition & 1 deletion PCbuild/pythoncore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@
</PropertyGroup>
<Message Text="Building $(GitTag):$(GitVersion) $(GitBranch)" Importance="high" />
<ItemGroup>
<ClCompile Condition="$(Filename) == 'getbuildinfo'">
<ClCompile Condition="%(Filename) == 'getbuildinfo'">
<PreprocessorDefinitions>GITVERSION="$(GitVersion)";GITTAG="$(GitTag)";GITBRANCH="$(GitBranch)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemGroup>
Expand Down

0 comments on commit 49e554d

Please sign in to comment.