From bce36307de935ec458eddce2ef6261c5199ec18e Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Fri, 5 Oct 2012 09:20:45 +0100 Subject: Allow debug optimized builds that work on non-dev machines diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index c940d49..ed8e1f0 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -65,7 +65,7 @@ if env["PLATFORM"] == "win32" : if myenv.get("HAVE_SCHANNEL", 0) : myenv.Append(LIBS = "Cryptui") myenv.Append(CPPDEFINES = "HAVE_SCHANNEL") - if env["debug"] : + if env["debug"] and not env["optimize"]: myenv.Append(LINKFLAGS = ["/NODEFAULTLIB:msvcrt"]) myenv.WriteVal("DefaultTheme.qrc", myenv.Value(generateDefaultTheme(myenv.Dir("#/Swift/resources/themes/Default")))) -- cgit v0.10.2-6-g49f6