Skip to content

Commit 04c3da0

Browse files
committed
fixup the pic option behaviour
1 parent 1b2e917 commit 04c3da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn build(b: *std.Build) void {
2222
.root_module = b.createModule(.{
2323
.target = target,
2424
.optimize = optimize,
25-
.pic = force_pic,
25+
.pic = if (force_pic == true) else null,
2626
}),
2727
});
2828
b.installArtifact(zstd_lib);

0 commit comments

Comments
 (0)