Skip to content

Commit

Permalink
Fix qbs libclang compilation on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Jul 25, 2024
1 parent abd5f64 commit a9d67c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qbs/modules/libclang/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a9d67c3

Please sign in to comment.