summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-03-02 10:35:26 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-03-02 10:35:26 -0500
commitbf1476f190738ac825531f91bd7310205995e199 (patch)
tree86c4cb5a08f5b3c78c9241ec616f543398a869bb /src
parentc23002c5608037957faf13e21adeb214b01fe30e (diff)
downloadlibgit2-bf1476f190738ac825531f91bd7310205995e199.tar.gz
win32: add the patch level to the .dll fileversion
Win32 DLLs have four fields for the version number (major, minor, teeny, patch). If a consumer wants to build a custom DLL, it may be useful to set the patchlevel version number in the DLL. This value only affects the DLL version number, it does not affect the resultant "version number", which remains major.minor.teeny.
Diffstat (limited to 'src')
-rw-r--r--src/win32/git2.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/git2.rc b/src/win32/git2.rc
index 22c63f695..b2e59807b 100644
--- a/src/win32/git2.rc
+++ b/src/win32/git2.rc
@@ -6,8 +6,8 @@
#endif
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
- FILEVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0
- PRODUCTVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0
+ FILEVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,LIBGIT2_VER_PATCH
+ PRODUCTVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,LIBGIT2_VER_PATCH
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG