OSDN Git Service

meson: fix build for egl platform_x11 without dri3 and gbm
authorAlexander Tsoy <alexander@tsoy.me>
Wed, 15 Aug 2018 20:54:46 +0000 (23:54 +0300)
committerMatt Turner <mattst88@gmail.com>
Wed, 15 Aug 2018 23:37:16 +0000 (16:37 -0700)
commit9a96bf0ecd071219cb975fbd64f5c68849fd5697
treede3fcdca7dd78cf734e70e95d83da790264879e8
parent10f44da775a69561c77438507298363ff4eeb65d
meson: fix build for egl platform_x11 without dri3 and gbm

Compiling EGL's platform_x11 without dri3 and gbm yields this compile
failure:

platform_x11 needs inc_loader:

../mesa-18.2.0-rc2/src/egl/drivers/dri2/platform_x11.c:48:10: fatal
error: loader.h: No such file or directory
 #include "loader.h"
          ^~~~~~~~~~

Fixes: 108d257a1685 ("meson: build libEGL")
Bugzilla: https://bugs.gentoo.org/663534
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/egl/meson.build