fixing macOS issue

This commit is contained in:
2025-01-11 21:42:50 +01:00
parent 0f0ca48339
commit 2137fc4ee7

View File

@@ -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