Disable udev in src/modules/meson.build

Authored-by: Gleb Popov <arrowd@FreeBSD.org>

Sponsored by:	Future Crew, LLC
This commit is contained in:
Alexander Shursha 2024-11-29 11:24:09 +03:00
parent 5b5a25a14d
commit 16b3d14c59

View file

@ -221,7 +221,7 @@ if libsystemd_dep.found() or libelogind_dep.found()
]
endif
if udev_dep.found()
if udev_dep.found() and host_machine.system() != 'freebsd'
all_modules += [ [ 'module-udev-detect', 'module-udev-detect.c', [], [], [udev_dep] ] ]
if get_option('hal-compat')
all_modules += [ [ 'module-hal-detect', 'module-hal-detect-compat.c' ] ]