From 30ad9235583de1dc8199c6f87b3a2e83d415b13b Mon Sep 17 00:00:00 2001 From: Michael <132351311+perogycook@users.noreply.github.com> Date: Mon, 4 Dec 2023 20:14:05 +0100 Subject: [PATCH] Update raygui.odin for Mac targets --- vendor/raylib/raygui.odin | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vendor/raylib/raygui.odin b/vendor/raylib/raygui.odin index e9c483948..f273019e2 100644 --- a/vendor/raylib/raygui.odin +++ b/vendor/raylib/raygui.odin @@ -23,7 +23,9 @@ when ODIN_OS == .Windows { } else when ODIN_OS == .Darwin { when ODIN_ARCH == .arm64 { when RAYGUI_SHARED { - // #panic("Cannot link libraygui.450.dylib: not in the vendor collection") + foreign import lib { + "macos-arm64/libraygui.dylib" + } } else { foreign import lib { "macos-arm64/libraygui.a", @@ -34,7 +36,9 @@ when ODIN_OS == .Windows { } } else { when RAYGUI_SHARED { - // #panic("Cannot link libraygui.450.dylib: not in the vendor collection") + foreign import lib { + "macos/libraygui.dylib" + } } else { foreign import lib { "macos/libraygui.a",