From f232baf4d266df29d308ed1ab16c96ed7a8d916d Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 22 Oct 2003 11:26:41 +0000
Subject: [PATCH] Dylan Ellicott added the release-libcurl-ssl-dll target

---
 lib/Makefile.vc6 | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/lib/Makefile.vc6 b/lib/Makefile.vc6
index 67c9a941e8..0ed18b76d9 100644
--- a/lib/Makefile.vc6
+++ b/lib/Makefile.vc6
@@ -26,8 +26,9 @@
 # 02.05.2002   Miklos Nemeth OPENSSL_PATH environment; no need
 #              for OpenSSL libraries when creating a 
 #              static libcurl.lib
-#
-#
+# 10.14.2003   Added a target release-libcurl-ssl-dll which
+#              is intended to allow static linking of libcurl with dynamic
+#              linking of openssl
 ##############################################################
 
 LIB_NAME       = libcurl
@@ -100,6 +101,19 @@ CC       = $(CCNODBG)  $(CFLAGSSSL)
 CFGSET   = TRUE
 !ENDIF
 
+######################
+# release-libcurl-ssl-dll
+!IF "$(CFG)" == "release-libcurl-ssl-dll"
+TARGET   =$(LIB_NAME).lib
+DIROBJ   =.\$(CFG)
+LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)/out32dll"
+LNK      = $(LNKLIB) $(LFLAGSSSL) /out:$(TARGET)
+LINKLIBS = $(LINKLIBS) $(SSLLIBS)
+CC       = $(CCNODBG)  $(CFLAGSSSL)
+CFGSET   = TRUE
+!ENDIF
+
+
 ######################
 # debug
 
@@ -157,6 +171,7 @@ CFGSET   = TRUE
 !MESSAGE   release-dll      - release dll
 !MESSAGE   release-ssl      - release static library with ssl
 !MESSAGE   release-ssl-dll  - release dll library with ssl
+!MESSAGE   release-libcurl-ssl-dll - static libcurl with shared ssl
 !MESSAGE   debug            - debug static library
 !MESSAGE   debug-dll        - debug dll
 !MESSAGE   debug-ssl        - debug static library with ssl
-- 
GitLab