qt5-llvm-mingw-docker/static/qmake-static

9 lines
193 B
Text
Raw Permalink Normal View History

2021-02-17 22:48:08 +01:00
#!/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