]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
build: Use prefixdir directly on sysconfdir
authorDaniel Wagner <dwagner@suse.de>
Mon, 6 Feb 2023 13:48:43 +0000 (14:48 +0100)
committerDaniel Wagner <dwagner@suse.de>
Mon, 6 Feb 2023 13:51:04 +0000 (14:51 +0100)
The sysconfdir is an explicit path '/etc' and the muon implementation of
join_paths is dropping the prefixdir, thus we need to string concanate
the syscondfir path instead of using the join_paths function.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
meson.build

index cf72d6d8b1ec3c299624f19c977ff2d7ff2be549..588f3e525a2b1b84a919f12afcc084097d4172e4 100644 (file)
@@ -31,7 +31,7 @@ includedir = join_paths(prefixdir, get_option('includedir'))
 datadir    = join_paths(prefixdir, get_option('datadir'))
 mandir     = join_paths(prefixdir, get_option('mandir'))
 bindir     = join_paths(prefixdir, get_option('bindir'))
-sysconfdir = join_paths(prefixdir, get_option('sysconfdir'))
+sysconfdir = prefixdir + get_option('sysconfdir')
 
 ################################################################################
 conf = configuration_data()