From 379e68916e891bb3cf0a632692ae4312cde525c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 15 Jan 2022 17:15:45 +0100 Subject: [PATCH] meson: fix race build order of builtin terminfo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index fb2c8937..bc956216 100644 --- a/meson.build +++ b/meson.build @@ -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,