From e5965c78709afe0ee6659ce18aa3accec4beefd0 Mon Sep 17 00:00:00 2001 From: vanfanel Date: Mon, 22 Aug 2016 14:23:17 +0200 Subject: [PATCH] Fix plain_drm driver compilation --- Makefile.common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.common b/Makefile.common index 887e15090a..2bc3bd4f65 100644 --- a/Makefile.common +++ b/Makefile.common @@ -691,6 +691,8 @@ endif ifeq ($(HAVE_PLAIN_DRM), 1) OBJ += gfx/drivers/drm_gfx.o + CFLAGS += -I/usr/include/drm + LIBS += -ldrm endif ifeq ($(HAVE_GL_CONTEXT), 1)