mirror of
https://gitlab.com/Syping/qt5-llvm-mingw-docker.git
synced 2025-09-10 10:46:29 +02:00
Initial commit
This commit is contained in:
commit
5c8640d683
4 changed files with 1012 additions and 0 deletions
14
qmake-static
Normal file
14
qmake-static
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "${QMAKE_FORCE_ALL_STATIC}" == "YES" ]; then
|
||||
qmake "$@" LIBS+=-static
|
||||
else
|
||||
QMAKE_XSPEC=$(qmake -query QMAKE_XSPEC)
|
||||
if [ "${QMAKE_XSPEC}" == "win32-clang-g++" ]; then
|
||||
qmake "$@"
|
||||
elif [ "${QMAKE_XSPEC}" == "win32-g++" ]; then
|
||||
qmake "$@" LIBS+=-static-libgcc LIBS+=-static-libstdc++
|
||||
else
|
||||
qmake "$@" LIBS+=-static # Force all static because compiler unknown
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue