diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-08 16:18:56 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-08 16:18:56 +0200 |
commit | 5b62fbe5117dcee4e0a161825d2415144716ee72 (patch) | |
tree | 8d1ad79e5a47438120ee87cf42844bfb1fde771e | |
parent | 131d036cea9113821fd0db565dc32d2e19e52886 (diff) |
Update to zig 0.13.0, update mgl
-rw-r--r-- | build.zig | 6 | ||||
m--------- | depends/mgl | 0 |
2 files changed, 3 insertions, 3 deletions
@@ -8,6 +8,8 @@ pub fn build(b: *std.Build) void { .name = "mgl-zig", .target = target, .optimize = optimize, + .strip = optimize != std.builtin.OptimizeMode.Debug, + .single_threaded = true, }); lib.addCSourceFiles(.{ @@ -40,10 +42,8 @@ pub fn build(b: *std.Build) void { lib.linkSystemLibrary("xrender"); lib.linkSystemLibrary("xrandr"); lib.linkLibC(); - lib.installHeadersDirectory("depends/mgl/include", "."); - lib.strip = optimize != std.builtin.OptimizeMode.Debug; + lib.installHeadersDirectory(.{ .path = "depends/mgl/include" }, ".", .{}); lib.want_lto = optimize != std.builtin.OptimizeMode.Debug; - lib.single_threaded = true; b.installArtifact(lib); } diff --git a/depends/mgl b/depends/mgl -Subproject 5490e519cfb52d1cbb63752cee277ae01cd9e3f +Subproject 1a1ce3f6733b524122bdfe33e4b662803a69816 |