1
Fork 0

spa/meson.build: Look for udev rules in /usr by default

`/usr/lib/udev/rules.d` is the path specified in udev(7) [1], as well as
the location for udev rules in all current major distributions.

[1] https://github.com/systemd/systemd/blob/v254/man/udev.xml#L51
This commit is contained in:
Gioele Barabucci 2023-12-02 09:58:42 +01:00
parent a532c2abdb
commit b31cf7ac30
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if get_option('spa-plugins').allowed()
udevrulesdir = get_option('udevrulesdir')
if udevrulesdir == ''
# absolute path, otherwise meson prepends the prefix
udevrulesdir = '/lib/udev/rules.d'
udevrulesdir = '/usr/lib/udev/rules.d'
endif
# plugin-specific dependencies