]> granicus.if.org Git - libjpeg-turbo/commitdiff
Unfortunately, we have to use the DLL version of the C library to avoid crashes in...
authorDRC <dcommander@users.sourceforge.net>
Fri, 19 Feb 2010 06:59:18 +0000 (06:59 +0000)
committerDRC <dcommander@users.sourceforge.net>
Fri, 19 Feb 2010 06:59:18 +0000 (06:59 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@129 632fc199-4ca6-4c93-a231-07263d6284db

win/Makerules

index 59a7d3aa82656c5ca6198e652f25a73e831751c3..786f912ab15df7ddbd4e87871b05c903d057f712 100755 (executable)
@@ -19,7 +19,7 @@ VERSION = 0.0.90
 CC = "cl" -nologo
 CXX = "cl" -EHsc -nologo
 AR = "link" -lib -nologo
-LINK = "link" -nologo
+LINK = "link" -nologo -nodefaultlib:libcmt
 ifeq ($(DEBUG), yes)
  LINK = "link" -nologo -debug -nodefaultlib:libcmt
 endif
@@ -35,10 +35,10 @@ else
 NAFLAGS = -fwin32 -DWIN32 -DMSVC -Iwin/
 endif
 ifeq ($(DEBUG), yes)
- CFLAGS := $(CFLAGS) -Od -MTd -Zi
+ CFLAGS := $(CFLAGS) -Od -MDd -Zi
  NAFLAGS := $(NAFLAGS) -g
 else
- CFLAGS := $(CFLAGS) -O2 -MT
+ CFLAGS := $(CFLAGS) -O2 -MD
 endif
 
 WITH_SIMD = yes