meson: add foot (render.c) -> srgb.h dep

otherwise, depending on ninja dependency resolution order and parallel
build, srgb.h may not be built in time

Fixes: ccf625b991 ("render: gamma-correct blending")
This commit is contained in:
Alex Xu (Hello71) 2025-03-17 16:51:53 -04:00 committed by Daniel Eklöf
parent 6922ab2b8e
commit 9b776f2d6d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 2 additions and 1 deletions

View file

@ -78,6 +78,7 @@
* Regression: assertion in `url-mode.c` when activating a second URL
via `show-urls-persistent` ([#2000][2000]).
* Build failure (`srgb.h` not found) when doing a parallel build.
[2000]: https://codeberg.org/dnkl/foot/issues/2000

View file

@ -314,7 +314,7 @@ executable(
'url-mode.c', 'url-mode.h',
'user-notification.c', 'user-notification.h',
'wayland.c', 'wayland.h', 'shm-formats.h',
wl_proto_src + wl_proto_headers, version,
srgb_funcs, wl_proto_src + wl_proto_headers, version,
dependencies: [math, threads, libepoll, pixman, wayland_client, wayland_cursor, xkb, fontconfig, utf8proc,
tllist, fcft],
link_with: pgolib,