meson: fix race build order of builtin terminfo

The builtin terminfo is used by dcs.c, which is built as part of the
static library ‘vtlib’. Thus, vtlib needs to depend on the
builtin_terminfo target.
This commit is contained in:
Daniel Eklöf 2022-01-15 17:15:45 +01:00
parent 179ab08161
commit 379e68916e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -172,7 +172,7 @@ vtlib = static_library(
'osc.c', 'osc.h',
'sixel.c', 'sixel.h',
'vt.c', 'vt.h',
wl_proto_src + wl_proto_headers,
builtin_terminfo, wl_proto_src + wl_proto_headers,
version,
dependencies: [libepoll, pixman, fcft, tllist, wayland_client, xkb, utf8proc],
link_with: [common, misc],
@ -223,7 +223,7 @@ executable(
'url-mode.c', 'url-mode.h',
'user-notification.c', 'user-notification.h',
'wayland.c', 'wayland.h',
builtin_terminfo, wl_proto_src + wl_proto_headers, version,
wl_proto_src + wl_proto_headers, version,
dependencies: [math, threads, libepoll, pixman, wayland_client, wayland_cursor, xkb, fontconfig, utf8proc,
tllist, fcft],
link_with: pgolib,