aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Nemkin <nikita@nemkin.ru>2020-06-24 00:05:57 +0500
committerGitHub <noreply@github.com>2020-06-23 20:05:57 +0100
commit4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4 (patch)
treee9a69c77b7ada22a765eb6258eef296abdd80543 /PC/python_nt.rc
parentOn path with known exact float, extract the double with the fast macro. (GH-2... (diff)
downloadcpython-4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4.tar.gz
cpython-4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4.tar.bz2
cpython-4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4.zip
bpo-41054: Simplify resource compilation on Windows (GH-21004)
Remove auto-generated resource header. Pass definitions required by resource files (ORIGINAL_FILENAME and FIELD3) directly to resource compiler. Remove unused MS_DLL_ID resource string and related dead code.
Diffstat (limited to 'PC/python_nt.rc')
-rw-r--r--PC/python_nt.rc8
1 files changed, 1 insertions, 7 deletions
diff --git a/PC/python_nt.rc b/PC/python_nt.rc
index fac6105d8a7..b5fb58f26b2 100644
--- a/PC/python_nt.rc
+++ b/PC/python_nt.rc
@@ -7,12 +7,6 @@
#include <winuser.h>
2 RT_MANIFEST "python.manifest"
-// String Tables
-STRINGTABLE DISCARDABLE
-BEGIN
- 1000, MS_DLL_ID
-END
-
/////////////////////////////////////////////////////////////////////////////
//
// Version
@@ -40,7 +34,7 @@ BEGIN
VALUE "FileVersion", PYTHON_VERSION
VALUE "InternalName", "Python DLL\0"
VALUE "LegalCopyright", PYTHON_COPYRIGHT "\0"
- VALUE "OriginalFilename", PYTHON_DLL_NAME "\0"
+ VALUE "OriginalFilename", ORIGINAL_FILENAME "\0"
VALUE "ProductName", "Python\0"
VALUE "ProductVersion", PYTHON_VERSION
END