build: Install udev rules in correct directory
The udevdir variable in udev.pc might not have a trailing slash.
This commit is contained in:
parent
74b5c92787
commit
e1d85fb636
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue