summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-10-18 07:51:15 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-10-20 11:56:28 (GMT)
commitb895d7af3a75cbbc2b14a993679538ed02190b40 (patch)
tree719b4cb2b051097dfea12e886f08554b7bd6d0d6 /src/script
parent4346b33024c76760752fc1dc4b46847883cd0453 (diff)
downloadQt-b895d7af3a75cbbc2b14a993679538ed02190b40.zip
Qt-b895d7af3a75cbbc2b14a993679538ed02190b40.tar.gz
Qt-b895d7af3a75cbbc2b14a993679538ed02190b40.tar.bz2
Lighthouse on OS X.
Reviewed-by: Jørgen
Diffstat (limited to 'src/script')
-rw-r--r--src/script/script.pro10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/script/script.pro b/src/script/script.pro
index 4ee86d7..56d3f7a 100644
--- a/src/script/script.pro
+++ b/src/script/script.pro
@@ -39,10 +39,18 @@ wince* {
LIBS += -lmmtimer
}
-mac {
+!qpa:mac {
DEFINES += ENABLE_JSC_MULTIPLE_THREADS=0
LIBS_PRIVATE += -framework AppKit
}
+qpa:mac {
+ DEFINES += ENABLE_JSC_MULTIPLE_THREADS=0
+ contains(QT_CONFIG, coreservices) {
+ LIBS_PRIVATE += -framework CoreServices
+ } else {
+ LIBS_PRIVATE += -framework CoreFoundation
+ }
+}
include($$WEBKITDIR/JavaScriptCore/JavaScriptCore.pri)