mirror of
https://gitlab.com/Syping/qt5-llvm-mingw-docker.git
synced 2024-11-23 14:20:23 +01:00
9 lines
193 B
Text
9 lines
193 B
Text
|
#!/bin/bash
|
||
|
|
||
|
QMAKE_XSPEC=$(qmake -query QMAKE_XSPEC)
|
||
|
if [ "${QMAKE_XSPEC}" == "win32-g++" ]; then
|
||
|
qmake "$@" LIBS+=-static-libgcc LIBS+=-static-libstdc++
|
||
|
else
|
||
|
qmake "$@" LIBS+=-static
|
||
|
fi
|