c++ static

This commit is contained in:
luoliangyi 2022-08-05 18:03:53 +08:00
parent 669522e203
commit ef21a17faa
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ win32 {
} }
unix { unix {
QMAKE_LFLAGS += -static-libstdc++ -static-libgcc
DISTRIBUTION = $$system(cat /etc/issue | cut -d\' \' -f1) DISTRIBUTION = $$system(cat /etc/issue | cut -d\' \' -f1)
message($$DISTRIBUTION) message($$DISTRIBUTION)
ARCH = $$system(arch) ARCH = $$system(arch)

View File

@ -47,6 +47,7 @@ win32 {
} }
unix { unix {
QMAKE_LFLAGS += -static-libstdc++ -static-libgcc
DISTRIBUTION = $$system(cat /etc/issue | cut -d\' \' -f1) DISTRIBUTION = $$system(cat /etc/issue | cut -d\' \' -f1)
message($$DISTRIBUTION) message($$DISTRIBUTION)
ARCH = $$system(arch) ARCH = $$system(arch)