From a9d67c3bd42c249746eef2d569f1ce22dcb1faf3 Mon Sep 17 00:00:00 2001 From: Andreas Reischuck Date: Sat, 1 Jun 2024 17:17:40 +0200 Subject: [PATCH] Fix qbs libclang compilation on windows --- qbs/modules/libclang/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbs/modules/libclang/functions.js b/qbs/modules/libclang/functions.js index a3c0198bda1..c2037343643 100644 --- a/qbs/modules/libclang/functions.js +++ b/qbs/modules/libclang/functions.js @@ -91,7 +91,7 @@ function version(llvmConfig) function libraries(targetOS) { - return targetOS.contains("windows") ? ["libclang.lib", "advapi32.lib", "shell32.lib"] : ["clang"] + return targetOS.contains("windows") ? ["libclang.lib", "advapi32.lib", "shell32.lib", "ws2_32.lib"] : ["clang"] } function extraLibraries(llvmConfig, targetOS)