mirror of
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
synced 2024-11-14 22:43:44 +08:00
meson: align default distconfdir with autotools
Autotools uses $prefix/lib as the default for distconfdir, while meson
$libdir - which is not guaranteed to be the same.
In particular: Debian and derivatives use /usr/lib/$target-triplet as a
$libdir, while still keep the configuration directory as /usr/lib.
Fixes: 370141c1
("meson: introduce meson, covering libkmod.so")
Reported-by: Marco d'Itri <md@linux.it>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/216
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
parent
6e10fd50dc
commit
d5c7452c29
@ -199,9 +199,9 @@ zshcompletiondir = get_option('zshcompletiondir')
|
||||
cdata.set_quoted('SYSCONFDIR', sysconfdir)
|
||||
|
||||
_customdirs = [
|
||||
['distconfdir', libdir, 'DISTCONFDIR'],
|
||||
# The default moduledir is hard-coded due to historical reasons
|
||||
['moduledir', '/lib/modules', 'MODULE_DIRECTORY'],
|
||||
# The defaults are hard-coded due to historical reasons
|
||||
['distconfdir', prefixdir / 'lib', 'DISTCONFDIR'],
|
||||
['moduledir', '/lib/modules', 'MODULE_DIRECTORY'],
|
||||
]
|
||||
|
||||
foreach tuple : _customdirs
|
||||
|
Loading…
Reference in New Issue
Block a user