scons: Require drm to build gallium/state_trackers/egl/x11/x11_screen.c.
authorVinson Lee <vlee@freedesktop.org>
Tue, 4 Dec 2012 07:24:12 +0000 (23:24 -0800)
committerVinson Lee <vlee@freedesktop.org>
Wed, 5 Dec 2012 06:21:04 +0000 (22:21 -0800)
commit129a580062064a48d42929e8463f230ee6a4b8ed
tree303699143b420a6fa6c30804919dbadcd24d3c61
parenta64c1eb9b110f29b8abf803a8256306702629bdc
scons: Require drm to build gallium/state_trackers/egl/x11/x11_screen.c.

x11_screen.c includes xf86drm.h, which comes from libdrm-dev.

This patch fixes this build error.

  Compiling src/gallium/state_trackers/egl/x11/x11_screen.c ...
src/gallium/state_trackers/egl/x11/x11_screen.c:30:21: fatal error: xf86drm.h: No such file or directory

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/state_trackers/egl/SConscript