Temprimus improved the MSVC makefile so that the static debug SSL libs are
authorDaniel Stenberg <daniel@haxx.se>
Fri, 21 Oct 2005 19:32:12 +0000 (19:32 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 21 Oct 2005 19:32:12 +0000 (19:32 +0000)
linked to the executable and not to the libcurld.lib
http://curl.haxx.se/bug/view.cgi?id=1326676

CHANGES
RELEASE-NOTES
lib/Makefile.vc6

diff --git a/CHANGES b/CHANGES
index df4fd6c..452e46b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -9,6 +9,10 @@
 
 
 Daniel (21 October 2005)
+- Temprimus improved the MSVC makefile so that the static debug SSL libs are
+  linked to the executable and not to the libcurld.lib
+  http://curl.haxx.se/bug/view.cgi?id=1326676
+
 - Bradford Bruce made the windows resolver code properly return
   CURLE_COULDNT_RESOLVE_PROXY and CURLE_COULDNT_RESOLVE_HOST on resolving
   errors (as documented).
index 39a894b..381b7a2 100644 (file)
@@ -11,7 +11,7 @@ Curl and libcurl 7.15.1
 
 This release includes the following changes:
 
- o 
+ o improved MSVC makefile
 
 This release includes the following bugfixes:
 
@@ -28,6 +28,6 @@ Other curl-related news since the previous public release:
 This release would not have looked like this without help, code, reports and
 advice from friends like these:
 
- Dave Dribin, Bradford Bruce
+ Dave Dribin, Bradford Bruce, Temprimus
 
         Thanks! (and sorry if I forgot to mention someone)
index edc4c5c..304703e 100644 (file)
@@ -92,29 +92,6 @@ CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include
 LFLAGS = $(LFLAGS) $(WINDOWS_SDK_PATH)\lib\secur32.lib\r
 !ENDIF\r
 \r
-##############################################################
-# Runtime library configuration
-
-RTLIB   = /MD
-RTLIBD  = /MDd
-
-!IF "$(RTLIBCFG)" == "static"
-RTLIB  = /MT
-RTLIBD = /MTd
-!ENDIF
-
-
-######################\r
-# release\r
-\r
-!IF "$(CFG)" == "release"\r
-TARGET = $(LIB_NAME).lib\r
-DIROBJ = $(CFG)\r
-LNK    = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)\r
-CC     = $(CCNODBG) $(RTLIB) $(CFLAGSLIB)\r
-CFGSET = TRUE\r
-!ENDIF\r
-\r
 ##############################################################\r
 # Runtime library configuration\r
 \r
@@ -128,6 +105,17 @@ RTLIBD = /MTd
 \r
 \r
 ######################\r
+# release\r
+\r
+!IF "$(CFG)" == "release"\r
+TARGET = $(LIB_NAME).lib\r
+DIROBJ = $(CFG)\r
+LNK    = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)\r
+CC     = $(CCNODBG) $(RTLIB) $(CFLAGSLIB)\r
+CFGSET = TRUE\r
+!ENDIF\r
+\r
+######################\r
 # release-zlib\r
 \r
 !IF "$(CFG)" == "release-zlib"\r
@@ -271,7 +259,7 @@ CFGSET = TRUE
 TARGET   = $(LIB_NAME_DEBUG).lib\r
 DIROBJ   = $(CFG)\r
 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"\r
-LNK      = $(LNKLIB) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)\r
+LNK      = $(LNKLIB) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)\r
 CC       = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSLIB)\r
 CFGSET   = TRUE\r
 !ENDIF\r
@@ -308,7 +296,7 @@ TARGET   = $(LIB_NAME_DEBUG).lib
 DIROBJ   = $(CFG)\r
 LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"\r
 LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"\r
-LNK      = $(LNKLIB) $(SSLLIBS) $(ZLIBLIBS) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
+LNK      = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)\r
 CC       = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)\r
 CFGSET   = TRUE\r
 !ENDIF\r