diff options
author | Himbeer <himbeerserverde@gmail.com> | 2024-03-26 13:09:34 +0100 |
---|---|---|
committer | Himbeer <himbeerserverde@gmail.com> | 2024-03-26 13:09:34 +0100 |
commit | 2d217382f258285d9b513eed4c3d53667e2b04eb (patch) | |
tree | 57b05fe0d426fc72d4a47ca5a08ce8119c1bf91d /build.zig | |
parent | 6aecb564dd79777c5a67db478e023180e16e3803 (diff) |
add linker script
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -32,6 +32,8 @@ pub fn build(b: *std.Build) void { .optimize = optimize, }); + exe.setLinkerScript(std.Build.LazyPath.relative("linker.ld")); + // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default // step when running `zig build`). |