From 9dd3e4d48140a0852a3f86bd91a691645be319d8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 22 Feb 2008 22:53:01 +0000 Subject: - Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model options as the lib/Makefile.vc6 already did. --- src/Makefile.vc6 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.vc6 b/src/Makefile.vc6 index f82e01229..fbcfbf9e8 100644 --- a/src/Makefile.vc6 +++ b/src/Makefile.vc6 @@ -61,13 +61,22 @@ SSL_LFLAGS = /LIBPATH:"$(OPENSSL_PATH)/out32" SSL_IMP_LFLAGS = /LIBPATH:"$(OPENSSL_PATH)/out32dll" SSL_LIBS = libeay32.lib ssleay32.lib gdi32.lib user32.lib advapi32.lib +# Runtime library configuration +RTLIB = /MD +RTLIBD = /MDd + +!IF "$(RTLIBCFG)" == "static" +RTLIB = /MT +RTLIBD = /MTd +!ENDIF + ## Release -CCR = cl.exe /MD /O2 /DNDEBUG +CCR = cl.exe $(RTLIB) /O2 /DNDEBUG LINKR = link.exe /incremental:no /libpath:"../lib" RCR = rc.exe /dCURLDEBUG=0 ## Debug -CCD = cl.exe /MDd /Gm /ZI /Od /D_DEBUG /GZ +CCD = cl.exe $(RTLIBD) /Gm /ZI /Od /D_DEBUG /GZ LINKD = link.exe /incremental:yes /debug /libpath:"../lib" RCD = rc.exe /dCURLDEBUG=1 -- cgit v1.2.3