authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-28 02:27:20-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-30 12:10:02-08:00
log0fd8263e970fd716a47d023d877ce8544b33b2f2
tree2c8b95eca239548c541d330c239c5f4eabedc6ef
parent4593a0dc2edf8145422f3efdf1c09304046f0d98

build.zig: only-c implies no-lib


1 files changed, 1 insertions(+), 1 deletions(-)

build.zig+1-1
......@@ -29,7 +29,7 @@ pub fn build(b: *std.Build) !void {
2929 const use_zig_libcxx = b.option(bool, "use-zig-libcxx", "If libc++ is needed, use zig's bundled version, don't try to integrate with the system") orelse false;
3030
3131 const test_step = b.step("test", "Run all the tests");
32 const skip_install_lib_files = b.option(bool, "no-lib", "skip copying of lib/ files and langref to installation prefix. Useful for development") orelse false;
32 const skip_install_lib_files = b.option(bool, "no-lib", "skip copying of lib/ files and langref to installation prefix. Useful for development") orelse only_c;
3333 const skip_install_langref = b.option(bool, "no-langref", "skip copying of langref to the installation prefix") orelse skip_install_lib_files;
3434 const std_docs = b.option(bool, "std-docs", "include standard library autodocs") orelse false;
3535 const no_bin = b.option(bool, "no-bin", "skip emitting compiler binary") orelse false;