Skip to content

Commit 83069d1

Browse files
dwsuseigaw
authored andcommitted
build: Initialize sysconfdir
The default sysconfdir needs to be initialize so that Meson and muon expand to the same final result using join_paths(). Fixes: f6100dd ("build: Use prefixdir directly on sysconfdir") Signed-off-by: Daniel Wagner <[email protected]>
1 parent ed5d25b commit 83069d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ project(
1515
'warning_level=1',
1616
'buildtype=debug',
1717
'prefix=/usr/local',
18+
'sysconfdir=etc',
1819
]
1920
)
2021

@@ -31,7 +32,7 @@ includedir = join_paths(prefixdir, get_option('includedir'))
3132
datadir = join_paths(prefixdir, get_option('datadir'))
3233
mandir = join_paths(prefixdir, get_option('mandir'))
3334
bindir = join_paths(prefixdir, get_option('bindir'))
34-
sysconfdir = prefixdir + get_option('sysconfdir')
35+
sysconfdir = join_paths(prefixdir, get_option('sysconfdir'))
3536

3637
################################################################################
3738
conf = configuration_data()

0 commit comments

Comments
 (0)