build: make Meson treat kqueue conditional as one

src/meson.build:82:3: ERROR: Unknown statement.
This commit is contained in:
Jan Beich 2020-05-28 10:05:35 +00:00
parent 0b377537ec
commit 78223caea3
1 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,8 @@ endif
host_system = host_machine.system()
if host_system == 'linux'
cflags += ['-DHAS_INOTIFY']
elif host_system == 'freebsd' or host_system == 'netbsd' or
host_system == 'dragonfly' or host_system == 'openbsd'
elif (host_system == 'freebsd' or host_system == 'netbsd' or
host_system == 'dragonfly' or host_system == 'openbsd')
cflags += ['-DHAS_KQUEUE']
endif