summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/static.prf6
1 files changed, 6 insertions, 0 deletions
diff --git a/mkspecs/features/static.prf b/mkspecs/features/static.prf
index 6e2b54f..7ee7a8a 100644
--- a/mkspecs/features/static.prf
+++ b/mkspecs/features/static.prf
@@ -6,4 +6,10 @@ contains(TEMPLATE, ".*lib"):{
QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_STATIC_LIB
}
}
+
+mac {
+ QMAKE_LFLAGS += $$QMAKE_LFLAGS_STATIC_LIB
+ CONFIG += hide_symbols
+}
+
!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(static, shared)