summaryrefslogtreecommitdiff
path: root/qbs
diff options
context:
space:
mode:
authorYuchen Deng <loaden@gmail.com>2016-01-05 13:29:14 +0800
committerYuchen Deng <loaden@gmail.com>2016-01-05 10:41:07 +0000
commita759fb509a88689c053ace15909ce9e9b3ab36d5 (patch)
treeafb2b03c0f4424a995b2ef11795f2f5414732c37 /qbs
parent856370b61bc84e7215f233e6c2f2a94d262c4498 (diff)
downloadqt-creator-a759fb509a88689c053ace15909ce9e9b3ab36d5.tar.gz
Clang: Fix wrong library import on Windows
Change-Id: Iceab41ad8d8a680de39c455aba6961842a34183c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'qbs')
-rw-r--r--qbs/imports/QtcClangInstallation/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbs/imports/QtcClangInstallation/functions.js b/qbs/imports/QtcClangInstallation/functions.js
index e0f1cee126..cdb49c2d66 100644
--- a/qbs/imports/QtcClangInstallation/functions.js
+++ b/qbs/imports/QtcClangInstallation/functions.js
@@ -62,5 +62,5 @@ function version(llvmConfig, processOutputReader)
function libraries(targetOS)
{
- return ["clang"] + (targetOS.contains("windows") ? ["advapi32", "shell32"] : [])
+ return targetOS.contains("windows") ? ["libclang.lib", "advapi32.lib", "shell32.lib"] : ["clang"]
}