From cc850ed012cac3c10fe4dfd0cb765e1bb19eff19 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 14 Nov 2020 22:37:47 +0100 Subject: pgo: pull in selection.c in pgolib Some of the selection functions are in the hot path, so this makes a huge difference! --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 0bc652a2..f93ca732 100644 --- a/meson.build +++ b/meson.build @@ -126,6 +126,7 @@ vtlib = static_library( pgolib = static_library( 'pgolib', 'grid.c', 'grid.h', + 'selection.c', 'selection.h', 'terminal.c', 'terminal.h', dependencies: [pixman, fcft, tllist], link_with: vtlib, @@ -134,7 +135,8 @@ pgolib = static_library( executable( 'pgo', 'pgo/pgo.c', - dependencies: [math, threads, pixman, fcft, tllist], + wl_proto_src, + dependencies: [math, threads, pixman, wayland_client, fcft, tllist], link_with: pgolib, ) @@ -151,7 +153,6 @@ executable( 'reaper.c', 'reaper.h', 'render.c', 'render.h', 'search.c', 'search.h', - 'selection.c', 'selection.h', 'server.c', 'server.h', 'client-protocol.h', 'shm.c', 'shm.h', 'slave.c', 'slave.h', -- cgit v1.3