From 43c9557a43bd291b9a11611222c82182662919fb Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 27 Apr 2024 22:16:14 +0200 Subject: [PATCH] Rename Windows libraries to `libsodium.dll` (and `libsodium.lib`) --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index d2c4b0ba7f..4b06f31640 100644 --- a/build.zig +++ b/build.zig @@ -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(),