diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-10-05 08:20:45 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-10-05 08:20:45 (GMT) |
commit | bce36307de935ec458eddce2ef6261c5199ec18e (patch) | |
tree | 1327e3ea43d421b383320afa3355f22db18811af /Swift/QtUI | |
parent | 8790471f5e91766a0c6fd101e9870514deb8635b (diff) | |
download | swift-bce36307de935ec458eddce2ef6261c5199ec18e.zip swift-bce36307de935ec458eddce2ef6261c5199ec18e.tar.bz2 |
Allow debug optimized builds that work on non-dev machines
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
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")))) |