diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/meson.build b/util/meson.build index af3bf56..0ef9886 100644 --- a/util/meson.build +++ b/util/meson.build @@ -104,7 +104,11 @@ if have_block util_ss.add(files('throttle.c')) util_ss.add(files('timed-average.c')) if config_host_data.get('CONFIG_INOTIFY1') - util_ss.add(files('filemonitor-inotify.c')) + freebsd_dep = [] + if host_os == 'freebsd' + freebsd_dep = inotify + endif + util_ss.add(files('filemonitor-inotify.c'), freebsd_dep) else util_ss.add(files('filemonitor-stub.c')) endif |