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:
parent
93b0d3e80c
commit
6d4fd00d3d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user