summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Kurushin <ajax16384@gmail.com>2013-02-05 00:08:01 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-02-05 00:08:50 +0100
commit7fd5f680ea5cb0962c897977e427464858bff151 (patch)
treeb188e54a36ee6f2fe717e6bdbd86e675827705b3
parent9ca812f38670977bdc0376934f295b1ca0a140c4 (diff)
downloadgnurl-7fd5f680ea5cb0962c897977e427464858bff151.tar.gz
gnurl-7fd5f680ea5cb0962c897977e427464858bff151.tar.bz2
gnurl-7fd5f680ea5cb0962c897977e427464858bff151.zip
winbuild: include version info for .dll .exe
Bug: http://curl.haxx.se/bug/view.cgi?id=1186
-rw-r--r--winbuild/MakefileBuild.vc9
1 files changed, 7 insertions, 2 deletions
diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc
index 5e8b39253..1f6701048 100644
--- a/winbuild/MakefileBuild.vc
+++ b/winbuild/MakefileBuild.vc
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1999 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -374,8 +374,13 @@ clean:
!include CURL_OBJS.inc
!include LIBCURL_OBJS.inc
+!IF "$(AS_DLL)" == "true"
+LIB_OBJS = $(LIBCURL_OBJS) $(RESOURCE)
+!ELSE
LIB_OBJS = $(LIBCURL_OBJS)
-EXE_OBJS = $(CURL_OBJS)
+!ENDIF
+
+EXE_OBJS = $(CURL_OBJS) $(CURL_DIROBJ)\curl.res
all : $(TARGET) $(PROGRAM_NAME)