From 2b924667780402de0241c4d60c769cb497f45c0b Mon Sep 17 00:00:00 2001 From: adi-causevic-pdftools Date: Thu, 8 Oct 2026 13:23:02 +0200 Subject: [PATCH] README: --zig-lib-dir -> --zig-lib for zig build --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a978a2790daa2415cdedf4318f6692069a419d93..3f662d6d95956590e61390806dd80088c3cad9ad 100644 --- a/README.md +++ b/README.md @@ -120,9 +120,9 @@ directory `out/zig-$target-$cpu` and `out/$target-$cpu`, to be used as ```sh "$ZIG_PREFIX/zig" build \ + --zig-lib=lib \ -p stage3 \ --search-prefix "$LLVM_PREFIX" \ - --zig-lib-dir "lib" \ -Dstatic-llvm ``` @@ -193,7 +193,7 @@ You now have the `zig.exe` binary at `stage3\bin\zig.exe`. Unzip the dev kit and then in cmd.exe in your Zig source checkout: ```bat -$DEVKIT\bin\zig.exe build -p stage3 --search-prefix $DEVKIT --zig-lib-dir lib -Dstatic-llvm -Duse-zig-libcxx -Dtarget=x86_64-windows-gnu +$DEVKIT\bin\zig.exe build --zig-lib=lib -p stage3 --search-prefix $DEVKIT -Dstatic-llvm -Duse-zig-libcxx -Dtarget=x86_64-windows-gnu ``` Replace `$DEVKIT` with the path to the folder that you unzipped after -- 2.54.0