summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-03-19 01:03:41 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-19 01:03:41 +0100
commit2c4e90f3fafd967d18c5b2f058cb6053dabafae0 (patch)
treee25364794754c96c1f8ddc068af9a01adc02d0b9
parent89ba9f1acc7d6f26ce45a6ccd128a2c270a5fe79 (diff)
parent523526e55ddd65ae42274f9a52f0327693a11941 (diff)
downloadlibgit2-2c4e90f3fafd967d18c5b2f058cb6053dabafae0.tar.gz
Merge pull request #2996 from ethomson/dll_comments
win32 resource: allow custom comments field in DLL
-rw-r--r--src/win32/git2.rc8
1 files 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"