From 065eb05e3e73034a873b20093388cba3b7f13954 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 18 Jul 2024 09:02:42 +0200 Subject: meson/pgo: fix PGO build errors with recent meson(?) versions The back-reference to 'tokenize.c' in the parent directory causes PGO build failures, where gcc can't find the PGO data. Likely due to path/naming issues caused by meson's generated build directories. --- tests/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/meson.build b/tests/meson.build index 2b7768b0..9baa064c 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -1,8 +1,8 @@ config_test = executable( 'test-config', - 'test-config.c', '../tokenize.c', + 'test-config.c', wl_proto_headers, - link_with: [common], + link_with: [common, tokenize], dependencies: [pixman, xkb, fontconfig, wayland_client, fcft, tllist]) test('config', config_test) -- cgit v1.3