[Mesa-dev] Mesa (master): automake: Add a prefix variable for libglsl sources.
Jose Fonseca
jfonseca at vmware.com
Mon Jun 11 11:37:20 PDT 2012
----- Original Message -----
> ----- Original Message -----
> > This breaks the SCons build, which parses
> > src/glsl/Makefile.sources,
> > and can't understand "$(GLSL_SRCDIR)/" as it only supports a simple
> > subset of Make syntax.
> >
> > Is there some other way to achieve this effect, without changing
> > src/glsl/Makefile.sources?
>
> Actually, the scons' makefile parser handles "$(GLSL_SRCDIR)/" just
> fine. The problem is merely that GLSL_SRCDIR is not defined.
>
> The patch below would fix it, and should (hopefully) not affect
> automake, but I'm not sure.
>
> Would this be ok?
I tried to build with automake and my change and it seems to work fine, so I'll go ahead and commit it, as all scons builds are totally busted without it.
Jose
More information about the mesa-dev
mailing list