mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
don't build stb
This commit is contained in:
@ -12,8 +12,6 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
exe.setTarget(target);
|
exe.setTarget(target);
|
||||||
exe.setBuildMode(mode);
|
exe.setBuildMode(mode);
|
||||||
exe.install();
|
exe.install();
|
||||||
exe.addIncludeDir("vendor/stb");
|
|
||||||
exe.addCSourceFile("src/stb/stb.c", &.{});
|
|
||||||
exe.addPackagePath("glfw", "vendor/mach/glfw/src/main.zig");
|
exe.addPackagePath("glfw", "vendor/mach/glfw/src/main.zig");
|
||||||
glfw.link(b, exe, .{});
|
glfw.link(b, exe, .{});
|
||||||
|
|
||||||
@ -21,7 +19,10 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
ftlib.link(exe);
|
ftlib.link(exe);
|
||||||
|
|
||||||
exe.linkSystemLibrary("epoxy");
|
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();
|
const run_cmd = exe.run();
|
||||||
run_cmd.step.dependOn(b.getInstallStep());
|
run_cmd.step.dependOn(b.getInstallStep());
|
||||||
|
Reference in New Issue
Block a user