diff --git a/tools/windows/setup_cross_compilation_env.sh b/tools/windows/setup_cross_compilation_env.sh index 2d5b57831..f45664a2f 100755 --- a/tools/windows/setup_cross_compilation_env.sh +++ b/tools/windows/setup_cross_compilation_env.sh @@ -67,6 +67,12 @@ function create_run_configure_script { echo Creating \'run_configure.sh\' script qtbin=${INSTALL_DIR}/usr/${HOST}/qt5/bin + + static_qt="" + if [[ $HOST == *static* ]]; then + static_qt="--enable-static-qt" + fi + cat > run_configure.sh <