pkg/highway: requires libc headers
parent
f3f9af6129
commit
3c0b976d07
|
|
@ -21,6 +21,11 @@ pub fn build(b: *std.Build) !void {
|
|||
}),
|
||||
.linkage = .static,
|
||||
});
|
||||
|
||||
// Our highway package is free of libc at runtime (uses no symbols)
|
||||
// but does require libc headers at compile time.
|
||||
lib.linkLibC();
|
||||
|
||||
lib.addIncludePath(b.path("src/cpp"));
|
||||
if (upstream_) |upstream| {
|
||||
lib.addIncludePath(upstream.path(""));
|
||||
|
|
|
|||
Loading…
Reference in New Issue