aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/meson.build
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2018-08-22 16:08:33 -0700
committerDylan Baker <[email protected]>2018-08-22 16:47:09 -0700
commitec6cb01e216439fcd8a76c793a336d1b25587a41 (patch)
treedfa60bebde662a751a7f45b07d6368178668fc80 /src/egl/meson.build
parent410de0e3f1690f905c268549cef1e1e60d63e8d9 (diff)
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: 108d257a16859898f5ce02f4759c5c58f9b8c050 ("meson: build libEGL") Reviewed-by: Dylan Baker <[email protected]> v2: Split up patches, modify commit message (Dylan)
Diffstat (limited to 'src/egl/meson.build')
-rw-r--r--src/egl/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/meson.build b/src/egl/meson.build
index c7c22d36371..9c0b6b4b4a5 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]