From 7fd5f680ea5cb0962c897977e427464858bff151 Mon Sep 17 00:00:00 2001 From: Andrei Kurushin Date: Tue, 5 Feb 2013 00:08:01 +0100 Subject: [PATCH] winbuild: include version info for .dll .exe Bug: http://curl.haxx.se/bug/view.cgi?id=1186 --- winbuild/MakefileBuild.vc | 9 +++++++-- 1 file 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, , et al. +# Copyright (C) 1999 - 2013, Daniel Stenberg, , 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)