]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Windows: Set DLL name accurately in StringFileInfo on Cygwin and MSYS2
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 29 Sep 2024 11:46:52 +0000 (14:46 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 1 Oct 2024 09:16:28 +0000 (12:16 +0300)
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 dad153091552b52a41b95ec4981c6951f1cae487)

src/liblzma/liblzma_w32res.rc

index e225b19e89fee33bc8ae307839af1a0e4e9818ac..19507b6e9669e6152422ae88d8faa6a2e1be3e03 100644 (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"