summaryrefslogtreecommitdiff
path: root/mkspecs/features/static_runtime.prf
blob: 1af32361893d4a9cf5188494934393497a43abd9 (plain)
1
2
3
4
5
6
7
msvc {
    # -MD becomes -MT, -MDd becomes -MTd
    QMAKE_CFLAGS ~= s,^-MD(d?)$,-MT\1,g
    QMAKE_CXXFLAGS ~= s,^-MD(d?)$,-MT\1,g
} else: mingw {
    QMAKE_LFLAGS += -static
}