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.
This commit is contained in:
Lasse Collin 2024-09-29 14:46:52 +03:00
parent 8940ecb96f
commit dad1530915
1 changed files with 9 additions and 1 deletions

View File

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