summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-09-30 13:54:04 +0200
committerKent Hansen <khansen@trolltech.com>2009-09-30 13:55:14 +0200
commitdecaf4fe6e5270efaec6c51c4bc28664b2dbb3be (patch)
tree4cd9d3b808d2ff4d00a48f6f2567b4ab6fd08159 /src/script
parent28be44a363468f1d3cf0a041c3daf88893820edd (diff)
avoid JavaScriptCore C API functions being exported from QtScript library
Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/script')
-rw-r--r--src/script/script.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/script.pro b/src/script/script.pro
index 6c6b701099..659aa26687 100644
--- a/src/script/script.pro
+++ b/src/script/script.pro
@@ -62,6 +62,9 @@ DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1 WTF_CHANGES=1
DEFINES += NDEBUG
+# Avoid JSC C API functions being exported.
+DEFINES += JS_EXPORT="" JS_EXPORTDATA=""
+
INCLUDEPATH += $$PWD
include(script.pri)