Skip to content

Commit 27e4fbd

Browse files
committed
Install header along with static library
1 parent f442d44 commit 27e4fbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ pub fn build(b: *std.Build) void {
1414
.target = target,
1515
.optimize = optimize,
1616
});
17-
1817
lib.bundle_compiler_rt = true;
1918
lib.addIncludePath(b.path("src"));
2019
lib.linkLibC();
21-
20+
lib.installHeader(b.path("src/ini.h"), "ini.h");
2221
b.installArtifact(lib);
2322

2423
const example_c = b.addExecutable(.{

0 commit comments

Comments
 (0)