diff --git a/meson.build b/meson.build index ac687bd4..1c5caf3e 100644 --- a/meson.build +++ b/meson.build @@ -79,9 +79,9 @@ endif config_h.set10('HAVE_BROKEN_MSG_CMSG_CLOEXEC', have_broken_msg_cmsg_cloexec) if get_option('libraries') - if host_machine.system() in ['freebsd', 'openbsd'] - # When building for FreeBSD, epoll(7) is provided by a userspace - # wrapper around kqueue(2). + if host_machine.system() in ['darwin', 'freebsd', 'openbsd'] + # When building for darwin, FreeBSD, or OpenBSD, epoll(7) is + # provided by a userspace wrapper around kqueue(2). epoll_dep = dependency('epoll-shim') else # Otherwise, assume that epoll(7) is supported natively.