[Mesa-dev] [PATCH] meson: don't install windows headers on non-windowsplatforms

Marc Dietrich marvin24 at gmx.de
Thu Feb 1 14:29:25 UTC 2018


Am Donnerstag, 1. Februar 2018, 15:07:55 CET schrieb Eric Engestrom:
> On Thursday, 2018-02-01 13:27:28 +0100, Marc Dietrich wrote:
> > Only dive into the windows subdir if windows platform is selected.
> > 
> > Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
> 
> Good point, although if I'm reading it right, it only installs a couple
> unnecessary headers right now; we got lucky :P

right.

> 
> Fixes: 5ef75cb02b2b4db5506b8 "meson: build src/glx/windows"
> Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
> 
> Do you have commit access?

no, please apply.

Marc

> > ---
> > 
> >  src/glx/meson.build | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > diff --git a/src/glx/meson.build b/src/glx/meson.build
> > index 04cd647ee4..e645b22b5f 100644
> > --- a/src/glx/meson.build
> > +++ b/src/glx/meson.build
> > @@ -18,7 +18,9 @@
> > 
> >  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> >  IN THE # SOFTWARE.
> > 
> > -subdir('windows')
> > +if with_dri_platform == 'windows'
> > +  subdir('windows')
> > +endif
> > 
> >  files_libglx = files(
> >  
> >    'clientattrib.c',

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180201/85bc9916/attachment.sig>


More information about the mesa-dev mailing list