summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-21 21:13:52 (GMT)
committerGitHub <noreply@github.com>2022-11-21 21:13:52 (GMT)
commit2d5f4ba17480c1f883a0822c90af25d2ec9bf7ed (patch)
tree30dea4ecbdd70935edbcb94eca68c13296769f01 /PCbuild
parent0c6b3a2d8e1a887bda6baed27664a62392f2cdc3 (diff)
downloadcpython-2d5f4ba17480c1f883a0822c90af25d2ec9bf7ed.zip
cpython-2d5f4ba17480c1f883a0822c90af25d2ec9bf7ed.tar.gz
cpython-2d5f4ba17480c1f883a0822c90af25d2ec9bf7ed.tar.bz2
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
(cherry picked from commit 49e554dbafc87245c1364ae00ad064a96f5cb995) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/pythoncore.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index a380401..078cc59 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -585,7 +585,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>