From: Andrei Kurushin Date: Mon, 4 Feb 2013 23:08:01 +0000 (+0100) Subject: winbuild: include version info for .dll .exe X-Git-Tag: curl-7_29_0~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fd5f680ea5cb0962c897977e427464858bff151;p=curl winbuild: include version info for .dll .exe Bug: http://curl.haxx.se/bug/view.cgi?id=1186 --- 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)