From 1fc52911496c576f51a917c45298a75a2b574ef3 Mon Sep 17 00:00:00 2001 From: TSnake41 Date: Mon, 29 Jun 2020 12:09:50 +0200 Subject: [PATCH] Fix example building. --- examples/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index 78c373db3..21f14a7c4 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -31,8 +31,8 @@ RAYLIB_PATH ?= .. # Define default options -# One of PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB, PLATFORM_GBM -PLATFORM ?= PLATFORM_GBM +# One of PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB, PLATFORM_DRM +PLATFORM ?= PLATFORM_DRM # Locations of your newly installed library and associated headers. See ../src/Makefile # On Linux, if you have installed raylib but cannot compile the examples, check that @@ -351,8 +351,8 @@ ifeq ($(PLATFORM),PLATFORM_WEB) # Libraries for web (HTML5) compiling LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.bc endif -ifeq ($(PLATFORM),PLATFORM_GBM) - LDLIBS = -lraylib -lEGL -lgbm -lGLESv2 -lm -ldl -lpthread +ifeq ($(PLATFORM),PLATFORM_DRM) + LDLIBS = -lraylib -lEGL -lgbm -ldrm -lGLESv2 -lm -ldl -lpthread endif # Define all object files required