Windows: Set DLL name accurately in StringFileInfo on Cygwin and MSYS2

Now the information in the "Details" tab in the file properties
dialog matches the naming convention of Cygwin and MSYS2. This
is only a cosmetic change.

(cherry picked from commit dad1530915)
This commit is contained in:
Lasse Collin 2024-09-29 14:46:52 +03:00
parent e77c0ca61d
commit 5718ce932e
No known key found for this signature in database
GPG Key ID: 38EE757D69184620
1 changed files with 9 additions and 1 deletions

View File

@ -5,7 +5,15 @@
*/ */
#define MY_TYPE VFT_DLL #define MY_TYPE VFT_DLL
#if defined(__MSYS__)
# define MY_NAME "msys-lzma-5"
#elif defined(__CYGWIN__)
# define MY_NAME "cyglzma-5"
#else
# define MY_NAME "liblzma" # define MY_NAME "liblzma"
#endif
#define MY_SUFFIX ".dll" #define MY_SUFFIX ".dll"
#define MY_DESC "liblzma data compression library" #define MY_DESC "liblzma data compression library"
#include "common_w32res.rc" #include "common_w32res.rc"