OriginalFilename and InternalName fields contain the DLL filename, and not
the description of the DLL build.
---
mingw-w64-libraries/winpthreads/src/version.rc | 7 ++-----
mingw-w64-libraries/winpthreads/src/wpth_ver.h | 1 +
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/mingw-w64-libraries/winpthreads/src/version.rc
b/mingw-w64-libraries/winpthreads/src/version.rc
index 06ea1cee6e65..509550d21c45 100644
--- a/mingw-w64-libraries/winpthreads/src/version.rc
+++ b/mingw-w64-libraries/winpthreads/src/version.rc
@@ -25,13 +25,10 @@
#if defined(__MINGW64__)
# define WPTH_VERSIONINFO_COMMENT "GNU C build -- MinGW-w64 64-bit\0"
-# define WPTH_VERSIONINFO_NAME "WinPthreadGC\0"
#elif defined(__MINGW32__)
# define WPTH_VERSIONINFO_COMMENT "GNU C build -- MinGW-w64 32-bit\0"
-# define WPTH_VERSIONINFO_NAME "WinPthreadGC\0"
#else
# define WPTH_VERSIONINFO_COMMENT "MSVC build\0"
-# define WPTH_VERSIONINFO_NAME "WinPthreadMS\0"
#endif
VS_VERSION_INFO VERSIONINFO
@@ -49,8 +46,8 @@ BEGIN
VALUE "FileDescription", "POSIX WinThreads for Windows\0"
VALUE "ProductVersion", WPTH_VERSION_STRING
VALUE "FileVersion", WPTH_VERSION_STRING
- VALUE "InternalName", WPTH_VERSIONINFO_NAME
- VALUE "OriginalFilename", WPTH_VERSIONINFO_NAME
+ VALUE "InternalName", "libwinpthread-" WPTH_VERSION_MAJOR_STRING
".dll"
+ VALUE "OriginalFilename", "libwinpthread-"
WPTH_VERSION_MAJOR_STRING ".dll"
VALUE "CompanyName", "MinGW-W64 Project. All rights reserved.\0"
VALUE "LegalCopyright", "Copyright (C) MinGW-W64 Project Members
2010-2023\0"
VALUE "Licence", "MIT AND BSD-3-Clause\0"
diff --git a/mingw-w64-libraries/winpthreads/src/wpth_ver.h
b/mingw-w64-libraries/winpthreads/src/wpth_ver.h
index 1089a612105b..b762eed0e085 100644
--- a/mingw-w64-libraries/winpthreads/src/wpth_ver.h
+++ b/mingw-w64-libraries/winpthreads/src/wpth_ver.h
@@ -25,5 +25,6 @@
#define WPTH_VERSION 1,0,0,0
#define WPTH_VERSION_STRING "1, 0, 0, 0\0"
+#define WPTH_VERSION_MAJOR_STRING "1"
#endif
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public