meson.build: Enable epoll-shim for DFBSD.

DragonFlyBSD also uses epoll-shim and it is necessary for DRI3.

Signed-off-by: b-aaz <b-aazbsd@proton.me>
This commit is contained in:
b-aaz
2025-09-17 09:32:18 +00:00
committed by Enrico Weigelt
parent 9e209798f1
commit 679d1796c5

View File

@@ -457,7 +457,7 @@ else
build_dri2 = get_option('dri2') == 'true'
endif
if host_machine.system() in ['freebsd', 'openbsd']
if host_machine.system() in ['freebsd', 'openbsd', 'dragonfly']
epoll_dep = dependency('epoll-shim')
epoll_inc = join_paths(epoll_dep.get_variable('prefix'), get_option('includedir'), 'libepoll-shim')
else