authorgravatar for adi.causevic@pdftools.comadi-causevic-pdftools <adi.causevic@pdftools.com> 2026-10-08 13:23:02+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-08 15:55:00+02:00
logf7ff2aeb9054db022d3814bc769e3a525c6127cc
treefc7d3d937c7e4219892d47092451d824f4a5e54b
parent39a2722837816f6242dae23a158f35803772072d
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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


1 files changed, 2 insertions(+), 2 deletions(-)

README.md+2-2
......@@ -120,9 +120,9 @@ directory `out/zig-$target-$cpu` and `out/$target-$cpu`, to be used as
120120
121121```sh
122122"$ZIG_PREFIX/zig" build \
123 --zig-lib=lib \
123124 -p stage3 \
124125 --search-prefix "$LLVM_PREFIX" \
125 --zig-lib-dir "lib" \
126126 -Dstatic-llvm
127127```
128128
......@@ -193,7 +193,7 @@ You now have the `zig.exe` binary at `stage3\bin\zig.exe`.
193193Unzip the dev kit and then in cmd.exe in your Zig source checkout:
194194
195195```bat
196$DEVKIT\bin\zig.exe build -p stage3 --search-prefix $DEVKIT --zig-lib-dir lib -Dstatic-llvm -Duse-zig-libcxx -Dtarget=x86_64-windows-gnu
196$DEVKIT\bin\zig.exe build --zig-lib=lib -p stage3 --search-prefix $DEVKIT -Dstatic-llvm -Duse-zig-libcxx -Dtarget=x86_64-windows-gnu
197197```
198198
199199Replace `$DEVKIT` with the path to the folder that you unzipped after