aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2025-03-17 20:51:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-03-26 17:17:59 +0000
commit9b776f2d6de39569670dbd76f635c11a383b8971 (patch)
tree0e70d0db6a2769708fd252c7c96252d9d0f19eb9
parentdoc: foot.ini: gamma-correct: move section (diff)
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")
-rw-r--r--CHANGELOG.md1
-rw-r--r--meson.build2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 671b6dad..1b36e86b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/meson.build b/meson.build
index e85d95e5..a9e47b3b 100644
--- a/meson.build
+++ b/meson.build
@@ -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,