mirror of
https://github.com/jedisct1/libsodium.git
synced 2025-10-14 01:58:51 +08:00
Update for zig-master
This commit is contained in:
@@ -32,7 +32,7 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
}
|
||||
|
||||
for (libs) |lib| {
|
||||
lib.install();
|
||||
b.installArtifact(lib);
|
||||
if (optimize != .Debug) {
|
||||
lib.strip = true;
|
||||
}
|
||||
@@ -227,6 +227,6 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
exe.defineCMacro("ITERATIONS", std.fmt.bufPrintIntToSlice(&buf, benchmarks_iterations, 10, .lower, .{}));
|
||||
}
|
||||
|
||||
exe.install();
|
||||
b.installArtifact(exe);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user