summaryrefslogtreecommitdiffstats
path: root/src/script/script.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/script.pro')
-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)