summaryrefslogtreecommitdiff
path: root/sync.profile
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-08-22 15:11:53 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-08-22 13:46:12 +0000
commit58af85972b45d905400ba1930b630e77601a2fb0 (patch)
treecfe954cb75f7d9dd5c39d70f7a8eefbb6b006742 /sync.profile
parentac6de68fe7d4fef251c101ef25812fe2198925f8 (diff)
downloadqttools-58af85972b45d905400ba1930b630e77601a2fb0.tar.gz
Fix linking libclang with mingw when cross-compiling
Commit 4ec82667f632992e827299c96d3bfd2b221a029b moved the mingw: CLANG_LIBS += -ldl condition from a option(host_build) .pro file to qt_find_clang.prf which is evaluated in target scope. That means when cross-compiling, we can't use mingw anymore as a way to detect the host compiler. Instead, rely on MinGW being the only alternative to MSVC that we support as a host compiler when cross-compiling. The msvc part is dealt with earlier in the file. Also cleaned up the LLVM_INSTALL_DIR determination that suffers from the same symptom (commit ac6de68fe7d4fef251c101ef25812fe2198925f8), where the msvc bit needs a proper scope for the else to work correctly. Task-number: QTBUG-69793 Change-Id: Id544c7929b79fc3c8763d50e0bac4a3a689ade60 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions