meson: fix egl build for surfaceless

Without this, I get:

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

Fixes: 108d257a16 ("meson: build libEGL")
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>

v2: Split up patches, modify commit message (Dylan)
This commit is contained in:
Gurchetan Singh
2018-08-22 16:08:33 -07:00
committed by Dylan Baker
parent 410de0e3f1
commit ec6cb01e21

View File

@@ -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]