From 66c50b381515ec71f3b98a019c2c845b32596090 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 3 Apr 2022 20:40:35 -0700 Subject: [PATCH] don't build stb --- build.zig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.zig b/build.zig index d79e98b3e..6d59b7aca 100644 --- a/build.zig +++ b/build.zig @@ -12,8 +12,6 @@ pub fn build(b: *std.build.Builder) !void { exe.setTarget(target); exe.setBuildMode(mode); exe.install(); - exe.addIncludeDir("vendor/stb"); - exe.addCSourceFile("src/stb/stb.c", &.{}); exe.addPackagePath("glfw", "vendor/mach/glfw/src/main.zig"); glfw.link(b, exe, .{}); @@ -21,7 +19,10 @@ pub fn build(b: *std.build.Builder) !void { ftlib.link(exe); exe.linkSystemLibrary("epoxy"); - exe.linkSystemLibrary("fontconfig"); + + // stb if we need it + // exe.addIncludeDir("vendor/stb"); + // exe.addCSourceFile("src/stb/stb.c", &.{}); const run_cmd = exe.run(); run_cmd.step.dependOn(b.getInstallStep());