From e4cbf6b79c4fbd3b6d52ffdbc80c23104fb43477 Mon Sep 17 00:00:00 2001 From: Thomas Anderson <5776225+CrackedPixel@users.noreply.github.com> Date: Mon, 23 Feb 2026 14:07:42 -0600 Subject: [PATCH 1/2] make glfw consistent (#5583) --- examples/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index fcc013876..47e1fb47e 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -90,6 +90,11 @@ BUILD_MODE ?= RELEASE # Use external GLFW library instead of rglfw module USE_EXTERNAL_GLFW ?= FALSE +# Enable support for X11 by default on Linux when using GLFW +# NOTE: Wayland is disabled by default, only enable if you are sure +GLFW_LINUX_ENABLE_WAYLAND ?= FALSE +GLFW_LINUX_ENABLE_X11 ?= TRUE + # PLATFORM_DESKTOP_SDL: It requires SDL library to be provided externally # WARNING: Library is not included in raylib, it MUST be configured by users SDL_INCLUDE_PATH ?= $(RAYLIB_SRC_PATH)/external/SDL2/include @@ -394,9 +399,11 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_GLFW) LDLIBS = -lraylib -lGL -lm -lpthread -ldl -lrt # On Wayland, additional libraries requires - ifeq ($(USE_WAYLAND_DISPLAY),TRUE) + ifeq ($(GLFW_LINUX_ENABLE_WAYLAND),TRUE) LDLIBS += -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon - else + endif + + ifeq ($(GLFW_LINUX_ENABLE_X11),TRUE) # On X11, additional libraries required LDLIBS += -lX11 # NOTE: It seems additional libraries are not required any more, latest GLFW just dlopen them From 73cb1d5b645323116ae2252cee29388505f9992c Mon Sep 17 00:00:00 2001 From: FinnDemonCat <94855390+FinnDemonCat@users.noreply.github.com> Date: Mon, 23 Feb 2026 17:08:46 -0300 Subject: [PATCH 2/2] Add Dart binding to BINDINGS.md (#5585) --- BINDINGS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/BINDINGS.md b/BINDINGS.md index 6c405ab66..80deadff9 100644 --- a/BINDINGS.md +++ b/BINDINGS.md @@ -103,6 +103,7 @@ Some people ported raylib to other languages in the form of bindings or wrappers | [raylib-jai](https://github.com/ahmedqarmout2/raylib-jai) | **5.5** | [Jai](https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md) | MIT | | [fnl-raylib](https://github.com/0riginaln0/fnl-raylib) | **5.5** | [Fennel](https://fennel-lang.org/) | MIT | | [Rayua](https://github.com/uiua-lang/rayua) | **5.5** | [Uiua](https://www.uiua.org/) | **???** | +| [Target](https://github.com/FinnDemonCat/Target/tree/main/libs/raylib) | **5.5** | [Dart](https://dart.dev/) | Apache-2.0 license | ### Utility Wrapers