mirror of
https://gitlab.com/Syping/qt5-llvm-mingw-docker.git
synced 2024-12-22 20:05:31 +01:00
fix static builds
This commit is contained in:
parent
141be7e882
commit
6dc5c78296
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue