From 4a3c19a5835de0049cdb2acea7be8ffeaff08aba Mon Sep 17 00:00:00 2001 From: Justin Goshi Date: Wed, 29 Nov 2017 12:48:26 -0800 Subject: Windows: Fix version embedding in CMake binaries In commit 5b9da05b7a (Windows: Embed version information into CMake binaries, 2017-10-25) we left out `` since MinGW does not have the header, but it is needed for the `VS_VERSION_INFO` macro. Provide the macro ourselves. Suggested-by: Christian Pfeiffer --- Source/CMakeVersion.rc.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/CMakeVersion.rc.in b/Source/CMakeVersion.rc.in index f4ca3d5..60e14e5 100644 --- a/Source/CMakeVersion.rc.in +++ b/Source/CMakeVersion.rc.in @@ -7,6 +7,9 @@ #define VER_PRODUCTVERSION @CMake_VERSION_MAJOR@,@CMake_VERSION_MINOR@,@CMake_VERSION_PATCH@ #define VER_PRODUCTVERSION_STR "@CMake_VERSION@\0" +/* Version-information resource identifier. */ +#define VS_VERSION_INFO 1 + VS_VERSION_INFO VERSIONINFO FILEVERSION VER_FILEVERSION PRODUCTVERSION VER_PRODUCTVERSION -- cgit v0.12 value='benjamin-iteration-torture'>benjamin-iteration-torture https://github.com/python/cpython.git
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Galić <igalic@brainsware.at>2017-09-21 12:14:36 (GMT)
committerIgor Galić <igalic@brainsware.at>2017-09-22 21:55:00 (GMT)
commitdd11236db70080695a7cd6075b98ca03aa432167 (patch)
tree6703552481dc253e67794c45d40088fa957ffb77 /Python/dynload_next.c
parent1eb5d208cdf20374bcad1b72632f1c01d6b1a0b3 (diff)
downloadcpython-buildbot-custom.zip
cpython-buildbot-custom.tar.gz
cpython-buildbot-custom.tar.bz2
bpo-5885: add Misc/NEWS entrybuildbot-custom