fix static builds

This commit is contained in:
Syping 2020-04-30 23:20:45 +02:00
parent 141be7e882
commit 6dc5c78296
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ if [ "${QMAKE_FORCE_ALL_STATIC}" == "YES" ]; then
else
QMAKE_XSPEC=$(qmake -query QMAKE_XSPEC)
if [ "${QMAKE_XSPEC}" == "win32-clang-g++" ]; then
qmake "$@"
qmake "$@" LIBS+=-static
elif [ "${QMAKE_XSPEC}" == "win32-g++" ]; then
qmake "$@" LIBS+=-static-libgcc LIBS+=-static-libstdc++
else