summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2014-12-16 04:45:23 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2014-12-16 04:45:23 (GMT)
commit03a144bb6ac3d7631a3bdb895e2a1f2d021fb08b (patch)
tree3ecded55448b2078f717dc5c0edb2e4c62510073 /PCbuild
parent09bd9ec9b3c563915b6428459032de6cda6c1336 (diff)
downloadcpython-03a144bb6ac3d7631a3bdb895e2a1f2d021fb08b.zip
cpython-03a144bb6ac3d7631a3bdb895e2a1f2d021fb08b.tar.gz
cpython-03a144bb6ac3d7631a3bdb895e2a1f2d021fb08b.tar.bz2
#22980 Adds platform and version tags to .pyd files
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/python.props4
1 files changed, 4 insertions, 0 deletions
diff --git a/PCbuild/python.props b/PCbuild/python.props
index 3dbc806..99eebf0 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -96,6 +96,10 @@
<!-- The name of the resulting pythonXY.dll (without the extension) -->
<PyDllName>python$(MajorVersionNumber)$(MinorVersionNumber)$(PyDebugExt)</PyDllName>
+
+ <!-- The version and platform tag to include in .pyd filenames -->
+ <PydTag Condition="$(Platform) == 'Win32'">.cp$(MajorVersionNumber)$(MinorVersionNumber)-win32</PydTag>
+ <PydTag Condition="$(Platform) == 'x64'">.cp$(MajorVersionNumber)$(MinorVersionNumber)-win_amd64</PydTag>
</PropertyGroup>
<!-- Displays the calculated version info -->