From 593d70a42f8a7d0c87136a7f222eb45ef2821c37 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 24 Jan 2025 10:06:32 -0600 Subject: [PATCH] fix missing check of emit_termcap build option --- src/build/GhosttyResources.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/GhosttyResources.zig b/src/build/GhosttyResources.zig index 1ce3fd66c..a7ff40cbd 100644 --- a/src/build/GhosttyResources.zig +++ b/src/build/GhosttyResources.zig @@ -36,7 +36,7 @@ pub fn init(b: *std.Build, cfg: *const Config) !GhosttyResources { // Convert to termcap source format if thats helpful to people and // install it. The resulting value here is the termcap source in case // that is used for other commands. - { + if (cfg.emit_termcap) { const run_step = RunStep.create(b, "infotocap"); run_step.addArg("infotocap"); run_step.addFileArg(source);