From a5c2e9fee073448db8985fd54265b6b52b2dbcf2 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 30 May 2022 18:25:01 +0200 Subject: build: link with -pthread Fixes the following FreeBSD error: ld: error: undefined symbol: pthread_getschedparam >>> referenced by realtime.c:25 (../sway/realtime.c:25) >>> sway/sway.p/realtime.c.o:(set_rr_scheduling) Fixes: a3a82efbf6b5 ("realtime: request SCHED_RR using CAP_SYS_NICE") --- sway/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'sway') diff --git a/sway/meson.build b/sway/meson.build index 5dd9cad2..47c59dd5 100644 --- a/sway/meson.build +++ b/sway/meson.build @@ -220,6 +220,7 @@ sway_deps = [ glesv2, pixman, server_protos, + threads, wayland_server, wlroots, xkbcommon, -- cgit v1.2.3