From: Dylan Baker Date: Tue, 23 Jan 2018 18:28:08 +0000 (-0800) Subject: meson: correctly set SYSCONFDIR for loading dirrc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5781c3d1db4a01e77f416c1685025c4d830ae87d;p=mesa.git meson: correctly set SYSCONFDIR for loading dirrc Fixes: d1992255bb29 ("meson: Add build Intel "anv" vulkan driver") Reported-by: Marc Dietrich Signed-off-by: Dylan Baker Reviewed-by: Eric Engestrom --- diff --git a/src/util/meson.build b/src/util/meson.build index fa591c92e56..b23dba3a985 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -112,8 +112,12 @@ libxmlconfig = static_library( files_xmlconfig, include_directories : inc_common, dependencies : [dep_expat, dep_m], - c_args : [c_msvc_compat_args, c_vis_args, - '-DSYSCONFDIR="@0@"'.format(get_option('sysconfdir'))], + c_args : [ + c_msvc_compat_args, c_vis_args, + '-DSYSCONFDIR="@0@"'.format( + join_paths(get_option('prefix'), get_option('sysconfdir')) + ), + ], build_by_default : false, )