Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c27ab7d

Browse files
committedMay 1, 2024·
Fix builds for LLVM on Windows
1 parent ab197f9 commit c27ab7d

File tree

1 file changed

+1
-1
lines changed
  • llvm/src/main/java/org/bytedeco/llvm/presets

1 file changed

+1
-1
lines changed
 

‎llvm/src/main/java/org/bytedeco/llvm/presets/LLVM.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"<llvm-c/Transforms/PassBuilder.h>", "<polly/LinkAllPasses.h>", "<FullOptimization.h>", "<NamedMetadataOperations.h>", "<TargetStubs.h>"},
4141
compiler = "cpp17", link = {"LLVM@.18.1", "LTO@.18.1", "Remarks@.18.1"}, resource = {"include", "lib", "libexec", "share"}),
4242
@Platform(value = "macosx", link = {"LLVM", "LTO", "Remarks"}),
43-
@Platform(value = "windows", link = {"LLVM", "LTO", "Remarks"})})
43+
@Platform(value = "windows", link = {"Ws2_32", "LLVM", "LTO", "Remarks"})})
4444
@NoException
4545
public class LLVM implements InfoMapper {
4646
static { Loader.checkVersion("org.bytedeco", "llvm"); }

0 commit comments

Comments
 (0)
Please sign in to comment.