diff options
-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 |