README: --zig-lib-dir -> --zig-lib for zig build

This commit is contained in:
adi-causevic-pdftools committed 2026-10-08 13:23:02 +02:00
1 parent 9d12f989a8
commit 2b92466778
1 file changed
+2 -2
+2 -2
View File
@@ -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