diff options
-rw-r--r-- | build.zig | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,9 +36,10 @@ pub fn build(b: *std.Build) void { lib.linkSystemLibrary("x11"); lib.linkSystemLibrary("xrender"); lib.linkLibC(); + lib.installHeadersDirectory("depends/mgl/include", "."); lib.strip = optimize != std.builtin.OptimizeMode.Debug; - lib.single_threaded = true; lib.want_lto = optimize != std.builtin.OptimizeMode.Debug; + lib.single_threaded = true; b.installArtifact(lib); } |