On Wed, Apr 02, 2025 at 15:58:28 +0800, Zhenzhong Duan wrote: > Currently libvirt favors /run instead of /var/run, but for local build > run test, a prefix path is still needed to avoid interoperating with OS > vendor provided binaries.
Could you please elaborate? > > Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com> > --- > meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meson.build b/meson.build > index bf4a245dd3..84c9796c2f 100644 > --- a/meson.build > +++ b/meson.build > @@ -82,7 +82,7 @@ endif > > runstatedir = get_option('runstatedir') > if runstatedir == '' > - runstatedir = '/run' > + runstatedir = prefix / 'run' If you need anything non-default you can always set it via -Drunstatedir= when configuring the project. > endif > > initconfdir = get_option('initconfdir') > -- > 2.34.1 >