[Mesa-dev] meson builds don't read dri options

Kenneth Graunke kenneth at whitecape.org
Tue Jan 23 23:04:18 UTC 2018


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...?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180123/d5ba0f9c/attachment.sig>


More information about the mesa-dev mailing list