From 6d4fd00d3d0a9b5e4c602f063ff0d4a490d31e7a Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sun, 1 Jul 2012 16:09:24 +0200 Subject: [PATCH] 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 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 5c32524..f18ec95 100644 --- a/configure.ac +++ b/configure.ac @@ -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