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

Attachment: 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

Reply via email to