build: Install udev rules in correct directory

The udevdir variable in udev.pc might not have a trailing slash.
This commit is contained in:
Bastien Nocera 2018-06-12 16:03:34 +02:00
parent 74b5c92787
commit e1d85fb636

View file

@ -95,7 +95,7 @@ if get_option('udev_rules')
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') + 'rules.d' udev_rules_dir = udev_dep.get_pkgconfig_variable('udevdir') + '/rules.d'
endif endif
endif endif