From c084f9ca3821211cc122bd83b94c4f066db29e22 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 15 Jan 2025 22:25:48 +0100 Subject: [PATCH] without_libsodium -> without-libsodium --- README.md | 2 +- build.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 041ccf7..a7176e6 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/build.zig b/build.zig index 111fb5b..de6cb7c 100644 --- a/build.zig +++ b/build.zig @@ -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(.{