From 71c5759b06908168a5025c60a4314eccb352b35b Mon Sep 17 00:00:00 2001 From: William Date: Fri, 21 Aug 2026 09:42:39 -0700 Subject: [PATCH] Updated examples/Makefile after testing on OSX I may be wrong, but the best way to install ray lib is through home-brew, and I'd expect that that should be a search path for others. --- examples/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index 6590e9bd1..2b080ad24 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -18,7 +18,7 @@ # > PLATFORM_DESKTOP_RGFW (RGFW backend): # - Windows (Win32, Win64) # - Linux (X11 desktop mode) -# - macOS/OSX (x64, arm64 (not tested)) +# - macOS/OSX (x64, arm64) # - Others (not tested) # > PLATFORM_DESKTOP_WIN32 (native Win32): # - Windows (Win32, Win64) @@ -418,7 +418,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_GLFW) ifeq ($(PLATFORM_OS),OSX) # Libraries for OSX 10.9 desktop compiling # NOTE: Required packages: libopenal-dev libegl1-mesa-dev - LDLIBS = -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo -framework QuartzCore + LDLIBS = -L/opt/homebrew/lib -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo -framework QuartzCore endif ifeq ($(PLATFORM_OS),BSD) # Libraries for FreeBSD, OpenBSD, NetBSD, DragonFly desktop compiling