meson.build: disable udev on platforms not having it
Several more platforms lacking udev haven't been catched yet. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1577>
This commit is contained in:
parent
1a42fe40d0
commit
ab701418b2
|
@ -174,15 +174,18 @@ else
|
||||||
default_font_path = dfp
|
default_font_path = dfp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
hal_option = get_option('hal')
|
|
||||||
glamor_option = get_option('glamor')
|
glamor_option = get_option('glamor')
|
||||||
|
|
||||||
|
hal_option = get_option('hal')
|
||||||
|
if ['windows', 'darwin', 'cygwin'].contains(host_machine.system())
|
||||||
|
hal_option = 'false'
|
||||||
|
endif
|
||||||
|
|
||||||
build_udev = get_option('udev')
|
build_udev = get_option('udev')
|
||||||
build_udev_kms = get_option('udev_kms')
|
build_udev_kms = get_option('udev_kms')
|
||||||
if ['windows', 'darwin', 'cygwin'].contains(host_machine.system())
|
if ['windows', 'darwin', 'cygwin', 'freebsd', 'netbsd', 'openbsd', 'sunos'].contains(host_machine.system())
|
||||||
build_udev = false
|
build_udev = false
|
||||||
build_udev_kms = false
|
build_udev_kms = false
|
||||||
hal_option = 'false'
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('systemd_logind') == 'auto'
|
if get_option('systemd_logind') == 'auto'
|
||||||
|
|
Loading…
Reference in New Issue