From 44dcfb88b699239267bb4d8ed85f9311783b0a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kelemen=20=28vudiq=29?= Date: Wed, 17 Nov 2021 21:56:05 +0100 Subject: [PATCH] Lakka: do not add include for libdrm Upstream of patch used by Lakka at build time https://github.com/libretro/Lakka-LibreELEC/blob/1943ad296eaf7c01040f02aa8f5dff3d2f37309f/packages/libretro/retroarch/patches/retroarch-03-libdrm-include.patch --- Makefile.common | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 1725c33ba6..ccf5cecbef 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1434,7 +1434,9 @@ endif ifeq ($(HAVE_PLAIN_DRM), 1) OBJ += gfx/drivers/drm_gfx.o - INCLUDE_DIRS += -I/usr/include/libdrm + ifneq ($(HAVE_LAKKA), 1) + INCLUDE_DIRS += -I/usr/include/libdrm + endif LIBS += -ldrm endif