diff options
Diffstat (limited to 'docs/shared-libs.md')
| -rw-r--r-- | docs/shared-libs.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/shared-libs.md b/docs/shared-libs.md index b9f64fdf..f6031a0d 100644 --- a/docs/shared-libs.md +++ b/docs/shared-libs.md @@ -29,6 +29,15 @@ pdf` (or `zig build addons`, both) builds and installs each library in home install). MuPDF is compiled only for a step that needs it (`pdf`, the tests); `-Dmupdf` is gone. +Since 2026-11-07 MuPDF, and FreeType with the zlib and libpng it brings, +are lazy dependencies: a build fetches MuPDF only with `-Dpdf` (on by +itself once MuPDF is fetched, and off Linux), and FreeType only for it or a +window, so a fresh checkout's `zig build -Dplatform=tui` downloads none of +them. Zig 0.17's configure is handed the options and never the steps, so +the guard is that option, not the step: without it `pdf`, `addons`, +`static`, `mupdf-check`, `pdf-harness` and the PDF benches say to add +`-Dpdf`, and the tests leave their PDF cases out. + ## One static pardes (2026-11-06) `zig build static -Dplatform=tui -Dtarget=x86_64-linux-musl` links the |
