From 427e5aa099975233ed7c1a586f14f5501ce01760 Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Sat, 11 Jan 2025 21:42:50 +0100 Subject: [PATCH] fixing macOS issue --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0671d7e..7712279 100644 --- a/Makefile +++ b/Makefile @@ -50,8 +50,8 @@ else endif ifeq ($(OS), Darwin) - LDFLAGS += -L /opt/homebrew/Cellar/lib -lSDL2 - CXXFLAGS += -I /opt/homebrew/Cellar/include + LDFLAGS += -L /opt/homebrew/Cellar/lib -L /usr/local/Cellar -lSDL2 + CXXFLAGS += -I /opt/homebrew/Cellar/include -I /usr/local/Cellar NAME = libmlx.dylib endif