mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-29 06:46:35 -04:00
epoll_shim and stdthreads are needed on freebsd
This commit is contained in:
parent
12c370ee19
commit
de7c8467f0
1 changed files with 4 additions and 1 deletions
|
|
@ -56,6 +56,8 @@ wayland_protocols = dependency('wayland-protocols')
|
||||||
wayland_client = dependency('wayland-client')
|
wayland_client = dependency('wayland-client')
|
||||||
wayland_cursor = dependency('wayland-cursor')
|
wayland_cursor = dependency('wayland-cursor')
|
||||||
xkb = dependency('xkbcommon')
|
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(
|
add_project_arguments('-DFOOT_UNICODE_PRECOMPOSE=@0@'.format(
|
||||||
get_option('unicode-precompose')), language: 'c')
|
get_option('unicode-precompose')), language: 'c')
|
||||||
|
|
@ -139,7 +141,8 @@ executable(
|
||||||
'vt.c', 'vt.h',
|
'vt.c', 'vt.h',
|
||||||
'wayland.c', 'wayland.h',
|
'wayland.c', 'wayland.h',
|
||||||
wl_proto_src + wl_proto_headers, version, unicode_data,
|
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)
|
install: true)
|
||||||
|
|
||||||
executable(
|
executable(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue