summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-05-23 08:52:24 -0700
committerBen Straub <bs@github.com>2013-05-23 08:52:24 -0700
commit9c941ccfaf600caef3c87387a6992bfe5a17c742 (patch)
tree8ab3db3a6b16ff271be40072d8e39365349dc022 /src
parentc4085fbf1d1a4ecd9b63d286364111450fa91ee1 (diff)
parent095bfd748766966f5515bdfe64867d6a09287123 (diff)
downloadlibgit2-9c941ccfaf600caef3c87387a6992bfe5a17c742.tar.gz
Merge pull request #1599 from nulltoken/topic/windows_resources
Update windows resources to match the dll name
Diffstat (limited to 'src')
-rw-r--r--src/win32/git2.rc.cmake (renamed from src/win32/git2.rc)6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/win32/git2.rc b/src/win32/git2.rc.cmake
index 436913228..dc9b3e6eb 100644
--- a/src/win32/git2.rc
+++ b/src/win32/git2.rc.cmake
@@ -1,11 +1,7 @@
#include <winver.h>
#include "../../include/git2/version.h"
-#ifndef INCLUDE_LIB
-#define LIBGIT2_FILENAME "git2.dll"
-#else
-#define LIBGIT2_FILENAME "libgit2.dll"
-#endif
+#define LIBGIT2_FILENAME "@LIBGIT2_NAME_PREFIX@git2@LIBGIT2_NAME_SUFFIX@.dll"
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0