Re: [Mesa-dev] [PATCH 1/2] meson: fix egl build for surfaceless

2018-08-22 Thread Dylan Baker
Quoting Gurchetan Singh (2018-08-22 16:08:33)
> Without this, I get:
> 
>  > platform_surfaceless.c:38:10: fatal error: 'loader.h' file not found
>  > #include "loader.h"
>  >  ^~
>  > 1 error generated.
> 
> Fixes: 108d257a16859898f5ce02f4759c5c58f9b8c050 ("meson: build libEGL")
> 
> v2: Split up patches, modify commit message (Dylan)
> ---
>  src/egl/meson.build | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/egl/meson.build b/src/egl/meson.build
> index c7c22d3637..9c0b6b4b4a 100644
> --- a/src/egl/meson.build
> +++ b/src/egl/meson.build
> @@ -114,6 +114,7 @@ if with_platform_drm
>  endif
>  if with_platform_surfaceless
>files_egl += files('drivers/dri2/platform_surfaceless.c')
> +  incs_for_egl += [inc_loader]
>  endif
>  if with_platform_wayland
>deps_for_egl += [dep_wayland_client, dep_wayland_server, 
> dep_wayland_egl_headers]
> -- 
> 2.16.4
> 

For the series, Reviewed-by: Dylan Baker 

I'll go ahead and push these, thanks for fixing this.

Dylan


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 1/2] meson: fix egl build for surfaceless

2018-08-22 Thread Gurchetan Singh
Without this, I get:

 > platform_surfaceless.c:38:10: fatal error: 'loader.h' file not found
 > #include "loader.h"
 >  ^~
 > 1 error generated.

Fixes: 108d257a16859898f5ce02f4759c5c58f9b8c050 ("meson: build libEGL")

v2: Split up patches, modify commit message (Dylan)
---
 src/egl/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/egl/meson.build b/src/egl/meson.build
index c7c22d3637..9c0b6b4b4a 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -114,6 +114,7 @@ if with_platform_drm
 endif
 if with_platform_surfaceless
   files_egl += files('drivers/dri2/platform_surfaceless.c')
+  incs_for_egl += [inc_loader]
 endif
 if with_platform_wayland
   deps_for_egl += [dep_wayland_client, dep_wayland_server, 
dep_wayland_egl_headers]
-- 
2.16.4

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev