[Qt] Detect debug mode consistently
https://bugs.webkit.org/show_bug.cgi?id=38863
Patch by Laszlo Gombos <laszlo.1.gombos@nokia.com> on 2010-05-12
Reviewed by Kenneth Rohde Christiansen.
.:
* WebKit.pri:
JavaScriptCore:
* JavaScriptCore.pri:
* JavaScriptCore.pro:
* jsc.pro:
* qt/api/QtScript.pro:
WebCore:
No new tests as there is no new functionality.
* WebCore.pro:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/jsc.pro b/JavaScriptCore/jsc.pro
index 420a3f1..20b8521 100644
--- a/JavaScriptCore/jsc.pro
+++ b/JavaScriptCore/jsc.pro
@@ -15,7 +15,7 @@
QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
-CONFIG(debug, debug|release) {
+!CONFIG(release, debug|release) {
OBJECTS_DIR = obj/debug
} else { # Release
OBJECTS_DIR = obj/release