meson: Fix udev rules directory detection

There was a copy/paste error and we postfixed it with hwdb.d rather than
rules.d.
This commit is contained in:
Benjamin Berg 2021-06-30 11:14:33 +02:00
parent 24658fb351
commit ec9e6f1947

View file

@ -211,7 +211,7 @@ if install_udev_rules
udev_rules_dir = get_option('udev_rules_dir') udev_rules_dir = get_option('udev_rules_dir')
if udev_rules_dir == 'auto' if udev_rules_dir == 'auto'
udev_dep = dependency('udev') udev_dep = dependency('udev')
udev_rules_dir = udev_dep.get_pkgconfig_variable('udevdir') + '/hwdb.d' udev_rules_dir = udev_dep.get_pkgconfig_variable('udevdir') + '/rules.d'
endif endif
endif endif