From 06948a40787edddcac80ccd918d3eac78de76808 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 11 Apr 2018 19:57:30 +0200 Subject: [PATCH] MXE setup: only add --enable-static-qt when creating static build --- tools/windows/setup_cross_compilation_env.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 <