without_libsodium -> without-libsodium

This commit is contained in:
Frank Denis 2025-01-15 22:25:48 +01:00
parent c1c452560f
commit c084f9ca38
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ Compilation with libsodium, statically linked (libsodium will only be needed for
Compilation without libsodium, no dependencies required:
$ zig build -Drelease -Dwithout_libsodium
$ zig build -Drelease -Dwithout-libsodium
The resulting binary can be found in `zig-out/bin/minisign`.

View file

@ -4,7 +4,7 @@ pub fn build(b: *std.Build) !void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseSmall });
const use_libzodium = b.option(bool, "without_libsodium", "Use the zig standard library instead of libsodium") orelse false;
const use_libzodium = b.option(bool, "without-libsodium", "Use the zig standard library instead of libsodium") orelse false;
const use_static_linking = b.option(bool, "static", "Statically link the binary") orelse false;
const minisign = b.addExecutable(.{