From de7c8467f0fff35d7b39783bff56dd6f90217d12 Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Mon, 13 Apr 2020 18:03:07 +0200 Subject: [PATCH] epoll_shim and stdthreads are needed on freebsd --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f34a5e60..f68546de 100644 --- a/meson.build +++ b/meson.build @@ -56,6 +56,8 @@ wayland_protocols = dependency('wayland-protocols') wayland_client = dependency('wayland-client') wayland_cursor = dependency('wayland-cursor') xkb = dependency('xkbcommon') +epoll_shim = dependency('epoll-shim', required: host_machine.system() == 'freebsd') +stdthreads = cc.find_library('stdthreads', required: host_machine.system() == 'freebsd') add_project_arguments('-DFOOT_UNICODE_PRECOMPOSE=@0@'.format( get_option('unicode-precompose')), language: 'c') @@ -139,7 +141,8 @@ executable( 'vt.c', 'vt.h', 'wayland.c', 'wayland.h', wl_proto_src + wl_proto_headers, version, unicode_data, - dependencies: [math, threads, pixman, wayland_client, wayland_cursor, xkb, tllist, fcft], + dependencies: [math, threads, pixman, wayland_client, wayland_cursor, xkb, epoll_shim, stdthreads, + tllist, fcft], install: true) executable(