summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/static.prf
blob: 6e2b54f4cb3fb640c41ee318a0565968fbf9cbd1 (plain)
1
2
3
4
5
6
7
8
9
CONFIG -= shared dll
contains(TEMPLATE, ".*lib"):{
    CONFIG += staticlib
    unix {
        QMAKE_CFLAGS += $$QMAKE_CFLAGS_STATIC_LIB
        QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_STATIC_LIB
    }
}
!static_and_shared:fix_output_dirs:fixExclusiveOutputDirs(static, shared)