aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2022-05-30 18:25:01 +0200
committerLibravatar Kenny Levinsen <kl@kl.wtf>2022-05-30 18:40:26 +0200
commita5c2e9fee073448db8985fd54265b6b52b2dbcf2 (patch)
tree5cf4c82efd544036a50cfa124098e19c53a94a6f /meson.build
parentsway: add bindgesture command (diff)
downloadsway-a5c2e9fee073448db8985fd54265b6b52b2dbcf2.tar.gz
sway-a5c2e9fee073448db8985fd54265b6b52b2dbcf2.tar.zst
sway-a5c2e9fee073448db8985fd54265b6b52b2dbcf2.zip
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")
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 46352da5..d23300be 100644
--- a/meson.build
+++ b/meson.build
@@ -70,6 +70,7 @@ fish_comp = dependency('fish', required: false)
70math = cc.find_library('m') 70math = cc.find_library('m')
71rt = cc.find_library('rt') 71rt = cc.find_library('rt')
72xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland')) 72xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland'))
73threads = dependency('threads') # for pthread_setschedparam
73 74
74wlroots_features = { 75wlroots_features = {
75 'xwayland': false, 76 'xwayland': false,