From 523526e55ddd65ae42274f9a52f0327693a11941 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Wed, 18 Mar 2015 18:25:14 -0400 Subject: [PATCH] win32 resource: allow custom comments field in DLL --- src/win32/git2.rc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/win32/git2.rc b/src/win32/git2.rc index b2e59807b..3571bc683 100644 --- a/src/win32/git2.rc +++ b/src/win32/git2.rc @@ -2,7 +2,11 @@ #include "../../include/git2/version.h" #ifndef LIBGIT2_FILENAME -# define LIBGIT2_FILENAME "git2" +# define LIBGIT2_FILENAME "git2" +#endif + +#ifndef LIBGIT2_COMMENTS +# define LIBGIT2_COMMENTS "For more information visit http://libgit2.github.com/" #endif VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE @@ -30,7 +34,7 @@ BEGIN VALUE "OriginalFilename", LIBGIT2_FILENAME ".dll\0" VALUE "ProductName", "libgit2\0" VALUE "ProductVersion", LIBGIT2_VERSION "\0" - VALUE "Comments", "For more information visit http://libgit2.github.com/\0" + VALUE "Comments", LIBGIT2_COMMENTS "\0" END END BLOCK "VarFileInfo"