build: correctly clear GBM/EGL flags

When building without DRM we should correctly clear the GBM and EGL flags.
Otherwise, we will be linking them either way.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-07-01 16:09:24 +02:00
parent 93b0d3e80c
commit 6d4fd00d3d

View File

@ -280,6 +280,10 @@ if test x$dumb_enabled = xyes ; then
else
DRM_CFLAGS=""
DRM_LIBS=""
GBM_CFLAGS=""
GBM_LIBS=""
EGL_CFLAGS=""
EGL_LIBS=""
fi
if test x$gles2_enabled = xyes ; then