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