summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/shared.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/shared.prf')
-rw-r--r--mkspecs/features/shared.prf7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkspecs/features/shared.prf b/mkspecs/features/shared.prf
new file mode 100644
index 0000000..86efd8e
--- /dev/null
+++ b/mkspecs/features/shared.prf
@@ -0,0 +1,7 @@
+CONFIG -= static
+contains(TEMPLATE, ".*lib"): {
+ CONFIG += dll
+ CONFIG -= staticlib
+ win32:QMAKE_LFLAGS += $$QMAKE_LFLAGS_DLL
+}
+!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(shared, static)