meson: Allow building dri based EGL without GLX
authorDylan Baker <dylan@pnwbakers.com>
Wed, 28 Feb 2018 18:13:38 +0000 (10:13 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 8 Mar 2018 17:12:24 +0000 (09:12 -0800)
commitf74cf04d3e81728591999b8ca952313178c54824
tree7180951c5f11bb4bdafcf57ec4d974a3899d02b9
parentd41ee9ba5d0f085b517bc6ce192f912fc1490e3a
meson: Allow building dri based EGL without GLX

It should be possible to build EGL without GLX, but the meson build
currently doesn't allow that because it too tightly couples glx and dri.
This patch eases dri and glx apart, so that EGL without GLX can be
built.

CC: Daniel Stone <daniels@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
meson.build