summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tools/qmake/mkspecs/features/webkit_modules.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/qmake/mkspecs/features/webkit_modules.prf b/Tools/qmake/mkspecs/features/webkit_modules.prf
index 005a1bd3d..7040cbbc3 100644
--- a/Tools/qmake/mkspecs/features/webkit_modules.prf
+++ b/Tools/qmake/mkspecs/features/webkit_modules.prf
@@ -34,7 +34,7 @@ for(library, WEBKIT) {
# Anything not linking dynamically to QtWebKit should make sure to have its export
# macros synchronized with the code that it will be linked with statically.
- !contains(QT, webkit): DEFINES += STATICALLY_LINKED_WITH_$$library
+ CONFIG(static)|!contains(QT, webkit): DEFINES += STATICALLY_LINKED_WITH_$$library
}
creating_module {