mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
meson: add ‘xkb’ as a dependency to vtlib, pgolib and pgo
All of these include wayland.h (either directly, or indirectly), which
pulls in xkbcommon.h.
Reported by swayyyy on IRC:
FAILED: libvtlib.a.p/dcs.c.o
In file included from ../../terminal.h:19,
from ../../dcs.h:4,
from ../../dcs.c:1:
../../wayland.h:9:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
9 | #include <xkbcommon/xkbcommon.h>
| ^
This commit is contained in:
parent
47c7665bd0
commit
7edda924a0
1 changed files with 3 additions and 3 deletions
|
|
@ -143,7 +143,7 @@ vtlib = static_library(
|
|||
'vt.c', 'vt.h',
|
||||
wl_proto_src + wl_proto_headers,
|
||||
version,
|
||||
dependencies: [libepoll, pixman, fcft, tllist, wayland_client],
|
||||
dependencies: [libepoll, pixman, fcft, tllist, wayland_client, xkb],
|
||||
link_with: [common, misc],
|
||||
)
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ pgolib = static_library(
|
|||
'selection.c', 'selection.h',
|
||||
'terminal.c', 'terminal.h',
|
||||
wl_proto_src + wl_proto_headers,
|
||||
dependencies: [libepoll, pixman, fcft, tllist, wayland_client],
|
||||
dependencies: [libepoll, pixman, fcft, tllist, wayland_client, xkb],
|
||||
link_with: vtlib,
|
||||
)
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ if get_option('b_pgo') == 'generate'
|
|||
'pgo',
|
||||
'pgo/pgo.c',
|
||||
wl_proto_src + wl_proto_headers,
|
||||
dependencies: [math, threads, libepoll, pixman, wayland_client, fcft, tllist],
|
||||
dependencies: [math, threads, libepoll, pixman, wayland_client, xkb, fcft, tllist],
|
||||
link_with: pgolib,
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue