summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-09-30 11:54:04 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-09-30 11:55:14 (GMT)
commitdecaf4fe6e5270efaec6c51c4bc28664b2dbb3be (patch)
tree4cd9d3b808d2ff4d00a48f6f2567b4ab6fd08159 /src/script
parent28be44a363468f1d3cf0a041c3daf88893820edd (diff)
downloadQt-decaf4fe6e5270efaec6c51c4bc28664b2dbb3be.zip
Qt-decaf4fe6e5270efaec6c51c4bc28664b2dbb3be.tar.gz
Qt-decaf4fe6e5270efaec6c51c4bc28664b2dbb3be.tar.bz2
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 6c6b701..659aa26 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)