Skip to content

Commit

Permalink
Rename Windows libraries to libsodium.dll (and libsodium.lib)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Apr 27, 2024
1 parent ee40b36 commit 43c9557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ pub fn build(b: *std.Build) !void {
}

const static_lib = b.addStaticLibrary(.{
.name = "sodium",
.name = if (target.result.isMinGW()) "libsodium-static" else "sodium",
.target = target,
.optimize = optimize,
});
const shared_lib = b.addSharedLibrary(.{
.name = if (target.result.isMinGW()) "sodium_shared" else "sodium",
.name = if (target.result.isMinGW()) "libsodium" else "sodium",
.target = target,
.optimize = optimize,
.strip = optimize != .Debug and !target.result.isMinGW(),
Expand Down

0 comments on commit 43c9557

Please sign in to comment.