Add Wayland DRM leasing support to the Linux DRM backend

This commit is contained in:
Tera << 8 2025-06-07 17:29:20 -04:00
parent 3366acf975
commit cc772e4bcb
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
8 changed files with 1567 additions and 54 deletions

View file

@ -474,6 +474,9 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DRM)
# Libraries for DRM compiling
# NOTE: Required packages: libasound2-dev (ALSA)
LDLIBS = -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lgbm -ldrm -ldl -latomic
ifeq ($(ENABLE_WAYLAND_DRM_LEASING), yes)
LDFLAGS += $(shell pkg-config --libs wayland-client) -DENABLE_WAYLAND_DRM_LEASING
endif
endif
ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
# Libraries for web (HTML5) compiling