Fix example building.
This commit is contained in:
parent
820d3e372c
commit
1fc5291149
|
|
@ -31,8 +31,8 @@ RAYLIB_PATH ?= ..
|
||||||
|
|
||||||
# Define default options
|
# Define default options
|
||||||
|
|
||||||
# One of PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB, PLATFORM_GBM
|
# One of PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB, PLATFORM_DRM
|
||||||
PLATFORM ?= PLATFORM_GBM
|
PLATFORM ?= PLATFORM_DRM
|
||||||
|
|
||||||
# Locations of your newly installed library and associated headers. See ../src/Makefile
|
# 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
|
# 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
|
# Libraries for web (HTML5) compiling
|
||||||
LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.bc
|
LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.bc
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),PLATFORM_GBM)
|
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||||
LDLIBS = -lraylib -lEGL -lgbm -lGLESv2 -lm -ldl -lpthread
|
LDLIBS = -lraylib -lEGL -lgbm -ldrm -lGLESv2 -lm -ldl -lpthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Define all object files required
|
# Define all object files required
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user