summaryrefslogtreecommitdiffstats
path: root/src/script
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2010-03-16 16:34:40 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2010-03-16 16:34:40 (GMT)
commitbcc8ecc91c9884d14dd4eda5fc1a4ab4ba7aab62 (patch)
tree1a1a4659320b208f92043606a67acc6bb9214baa /src/script
parent92f2f1a9c74704b6c8125766c18f7c3946a50634 (diff)
downloadQt-bcc8ecc91c9884d14dd4eda5fc1a4ab4ba7aab62.zip
Qt-bcc8ecc91c9884d14dd4eda5fc1a4ab4ba7aab62.tar.gz
Qt-bcc8ecc91c9884d14dd4eda5fc1a4ab4ba7aab62.tar.bz2
Define JS_NO_EXPORT to avoid JSC C API functions being exported
script.pro was defining JS_EXPORT in an attempt to avoid exporting, but JSBase.h unconditionally undefines it, and redefines based on JS_NO_EXPORT. So define that one instead.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/script.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script.pro b/src/script/script.pro
index f9ccfe4..df5dbf3 100644
--- a/src/script/script.pro
+++ b/src/script/script.pro
@@ -73,7 +73,7 @@ solaris-g++:isEqual(QT_ARCH,sparc) {
}
# Avoid JSC C API functions being exported.
-DEFINES += JS_EXPORT="" JS_EXPORTDATA=""
+DEFINES += JS_NO_EXPORT JS_EXPORTDATA=""
INCLUDEPATH += $$PWD