mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
meson: add missing "wl_proto_headers" dependency for pgolib and vtlib
Dependency chains: * pgolib -> terminal.c -> terminal.h -> wayland.h * vtlib -> csi.c -> config.h -> wayland.h wayland.h includes <primary-selection-unstable-v1.h>, which must be generated by a custom_target() rule *before* any sources that require it are built. Failure to fully specify these dependencies can otherwise result in a race condition, where a dependent source file gets compiled (and fails with a "header not found" error) before the header itself has been generated.
This commit is contained in:
parent
2a82096749
commit
7dc6036ca9
1 changed files with 2 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ vtlib = static_library(
|
||||||
'osc.c', 'osc.h',
|
'osc.c', 'osc.h',
|
||||||
'sixel.c', 'sixel.h',
|
'sixel.c', 'sixel.h',
|
||||||
'vt.c', 'vt.h',
|
'vt.c', 'vt.h',
|
||||||
|
wl_proto_src + wl_proto_headers,
|
||||||
version,
|
version,
|
||||||
dependencies: [pixman, fcft, tllist],
|
dependencies: [pixman, fcft, tllist],
|
||||||
link_with: misc,
|
link_with: misc,
|
||||||
|
|
@ -132,6 +133,7 @@ pgolib = static_library(
|
||||||
'grid.c', 'grid.h',
|
'grid.c', 'grid.h',
|
||||||
'selection.c', 'selection.h',
|
'selection.c', 'selection.h',
|
||||||
'terminal.c', 'terminal.h',
|
'terminal.c', 'terminal.h',
|
||||||
|
wl_proto_src + wl_proto_headers,
|
||||||
dependencies: [pixman, fcft, tllist],
|
dependencies: [pixman, fcft, tllist],
|
||||||
link_with: vtlib,
|
link_with: vtlib,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue