On Tuesday, January 23, 2018 10:34:25 AM PST Dylan Baker wrote: > There's a bug in our meson build, and I sent a patch. We need to join_dirs > with > get_option('prefix'). I got a little confused because when you pass a relative > directory to meson's `install` option it will autotmatically make it absolute, > but when you pass it to a C define it doesn't.
sysconfdir isn't always a subdirectory of prefix though. By default, sysconfdir is $prefix/etc (i.e. /usr/local/etc). But tho most common distro setting is prefix = /usr and sysconfdir = /etc. So unless Meson makes sysconfdir "../etc" in that case, I don't think joining prefix and sysconfdir will do what you want...?
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev