summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/shell
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/shell')
-rw-r--r--Source/JavaScriptCore/shell/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/shell/CMakeLists.txt b/Source/JavaScriptCore/shell/CMakeLists.txt
index 71b8963cc..d1b4abf52 100644
--- a/Source/JavaScriptCore/shell/CMakeLists.txt
+++ b/Source/JavaScriptCore/shell/CMakeLists.txt
@@ -7,6 +7,10 @@ SET(JSC_LIBRARIES
${JavaScriptCore_LIBRARY_NAME}
)
+IF ("${JavaScriptCore_LIBRARY_TYPE}" MATCHES "STATIC")
+ ADD_DEFINITIONS(-DSTATICALLY_LINKED_WITH_JavaScriptCore)
+ENDIF ()
+
WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
WEBKIT_WRAP_SOURCELIST(${JSC_SOURCES})