We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e4af4 commit 6220cbcCopy full SHA for 6220cbc
zig/build.zig
@@ -17,13 +17,12 @@ pub fn build(b: *std.Build) void {
17
18
const os = target.query.os_tag orelse builtin.os.tag;
19
20
- const lib = b.addStaticLibrary(.{
+ const lib = b.addLibrary(.{
21
.name = "kcl_lib_zig",
22
- // In this case the main source file is merely a path, however, in more
23
- // complicated build scripts, this could be a generated file.
24
.root_source_file = b.path("src/root.zig"),
25
.target = target,
26
.optimize = optimize,
+ .kind = .static,
27
});
28
29
lib.linkLibC();
0 commit comments