Skip to content

Commit

Permalink
Windows: Set DLL name accurately in StringFileInfo on Cygwin and MSYS2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Larhzu committed Sep 30, 2024
1 parent 8940ecb commit dad1530
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/liblzma/liblzma_w32res.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit dad1530

Please sign in to comment.