mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05: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
9e7d108afd
commit
18b027f26b
1 changed files with 2 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ vtlib = static_library(
|
|||
'osc.c', 'osc.h',
|
||||
'sixel.c', 'sixel.h',
|
||||
'vt.c', 'vt.h',
|
||||
wl_proto_src + wl_proto_headers,
|
||||
version,
|
||||
dependencies: [pixman, fcft, tllist],
|
||||
link_with: misc,
|
||||
|
|
@ -132,6 +133,7 @@ pgolib = static_library(
|
|||
'grid.c', 'grid.h',
|
||||
'selection.c', 'selection.h',
|
||||
'terminal.c', 'terminal.h',
|
||||
wl_proto_src + wl_proto_headers,
|
||||
dependencies: [pixman, fcft, tllist],
|
||||
link_with: vtlib,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue