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.
Quoting Kenneth Graunke (2018-01-23 10:00:56) > On Tuesday, January 23, 2018 3:31:23 AM PST Marc Dietrich wrote: > > Hi Dylan, > > > > running "Heaven" fails with "error: #extension directive is not allowed in > > the > > middle of a shader" because drirc (which contains an exception for this > > program) is somehow not read in meson builds. > > > > Marc > > Hey Dylan, > > Marc is right, this is not working correctly. driParseConfigFiles has: > > char *filenames[2] = { SYSCONFDIR "/drirc", NULL}; > > where SYSCONFDIR comes from Meson's get_option('sysconfdir'). > > The issue is that SYSCONFDIR is apparently getting expanded to "etc", > so it's looking for "etc/drirc". > > sysconfdir is supposed to default to $(prefix)/etc, so /usr/local/etc: > https://www.gnu.org/prep/standards/html_node/Directory-Variables.html > > I wonder if this is a Meson bug or if we're handling sysconfdir wrong. > > --Ken
signature.asc
Description: signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev