summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/api.pri2
-rw-r--r--Source/widgetsapi.pri2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/api.pri b/Source/api.pri
index 628a49ba1..61fcba101 100644
--- a/Source/api.pri
+++ b/Source/api.pri
@@ -68,7 +68,7 @@ BASE_TARGET = $$TARGET
load(qt_module)
# Make sure the install_name of the QtWebKit library point to webkit
-force_independent:macx {
+!production_build:force_independent:macx {
# We do our own absolute path so that we can trick qmake into
# using the webkit build path instead of the Qt install path.
CONFIG -= absolute_library_soname
diff --git a/Source/widgetsapi.pri b/Source/widgetsapi.pri
index 9504d91f2..86693da88 100644
--- a/Source/widgetsapi.pri
+++ b/Source/widgetsapi.pri
@@ -70,7 +70,7 @@ BASE_TARGET = $$TARGET
load(qt_module)
# Make sure the install_name of the QtWebKit library point to webkit
-force_independent:macx {
+!production_build:force_independent:macx {
# We do our own absolute path so that we can trick qmake into
# using the webkit build path instead of the Qt install path.
CONFIG -= absolute_library_soname