- Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model
authorDaniel Stenberg <daniel@haxx.se>
Fri, 22 Feb 2008 22:53:01 +0000 (22:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 Feb 2008 22:53:01 +0000 (22:53 +0000)
  options as the lib/Makefile.vc6 already did.

CHANGES
RELEASE-NOTES
src/Makefile.vc6

diff --git a/CHANGES b/CHANGES
index 95cb39c..01c742e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
 
                                   Changelog
 
+Daniel S (22 Feb 2008)
+- Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model
+  options as the lib/Makefile.vc6 already did.
+
 Daniel S (21 Feb 2008)
 - Zmey Petroff found a crash when libcurl accessed a NULL pointer, which
   happened if you set the connection cache size to 1 and for example failed to
index 5b3ed07..378f67c 100644 (file)
@@ -48,6 +48,6 @@ advice from friends like these:
 
  Michal Marek, Dmitry Kurochkin, Niklas Angebrand, Günter Knauf, Yang Tse,
  Dan Fandrich, Mike Hommey, Pooyan McSporran, Jerome Muffat-Meridol,
- Kaspar Brand, Gautam Kachroo, Zmey Petroff
+ Kaspar Brand, Gautam Kachroo, Zmey Petroff, Georg Lippitsch
 
         Thanks! (and sorry if I forgot to mention someone)
index f82e012..fbcfbf9 100644 (file)
@@ -61,13 +61,22 @@ SSL_LFLAGS     = /LIBPATH:"$(OPENSSL_PATH)/out32"
 SSL_IMP_LFLAGS = /LIBPATH:"$(OPENSSL_PATH)/out32dll"\r
 SSL_LIBS       = libeay32.lib ssleay32.lib gdi32.lib user32.lib advapi32.lib\r
 \r
+# Runtime library configuration\r
+RTLIB   = /MD\r
+RTLIBD  = /MDd\r
+\r
+!IF "$(RTLIBCFG)" == "static"\r
+RTLIB  = /MT\r
+RTLIBD = /MTd\r
+!ENDIF\r
+\r
 ## Release\r
-CCR   = cl.exe /MD /O2 /DNDEBUG\r
+CCR   = cl.exe $(RTLIB) /O2 /DNDEBUG\r
 LINKR = link.exe /incremental:no /libpath:"../lib"\r
 RCR   = rc.exe /dCURLDEBUG=0\r
 \r
 ## Debug\r
-CCD   = cl.exe /MDd /Gm /ZI /Od /D_DEBUG /GZ\r
+CCD   = cl.exe $(RTLIBD) /Gm /ZI /Od /D_DEBUG /GZ\r
 LINKD = link.exe /incremental:yes /debug /libpath:"../lib"\r
 RCD   = rc.exe /dCURLDEBUG=1\r
 \r