diff options
Diffstat (limited to 'src/script/script.pro')
-rw-r--r-- | src/script/script.pro | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/script/script.pro b/src/script/script.pro index 4ee86d7bb1..56d3f7a8cc 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) |