diff options
| author | Baitinq <[email protected]> | 2025-03-12 00:47:31 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-03-12 00:47:43 +0100 |
| commit | da0788140e7afbc9b0bcbb937a29e2b08de08ec7 (patch) | |
| tree | ef6435c7c91f40926f01f5faa9b4dbc2946a5caf /build.zig | |
| parent | Codegen: add bundled llvm (diff) | |
| parent | Codegen: Fix bug with functions without name (diff) | |
| download | pry-lang-da0788140e7afbc9b0bcbb937a29e2b08de08ec7.tar.gz pry-lang-da0788140e7afbc9b0bcbb937a29e2b08de08ec7.tar.bz2 pry-lang-da0788140e7afbc9b0bcbb937a29e2b08de08ec7.zip | |
Merge branch 'master' into native-llvm
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build.zig b/build.zig index 45fafa1..49df9a8 100644 --- a/build.zig +++ b/build.zig @@ -26,7 +26,8 @@ pub fn build(b: *std.Build) !void { .optimize = optimize, }); - exe_mod.linkSystemLibrary("llvm", .{}); + exe_mod.linkSystemLibrary("LLVM-18", .{}); + exe_mod.link_libc = true; // This creates another `std.Build.Step.Compile`, but this one builds an executable // rather than a static library. |