File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ build_flags =
2626 ; Add recursive dirs for hal headers search
2727 !python -c " import os; print(' '.join(['-I {}'.format(i[0].replace('\x5C','/')) for i in os.walk('hal/sdl2')]))"
2828 ; -arch arm64 ; MACOS with apple silicon (eg M1)
29- ; -L /opt/homebrew/Cellar/sdl2/2.0.22/lib/ ; MACOS
3029 -L C:/msys64/mingw64/lib/ ; Windows
3130 -lSDL2
3231 ; SDL drivers options
@@ -41,7 +40,9 @@ build_flags =
4140 -D SDL_ZOOM =1
4241 -D SDL_INCLUDE_PATH =" \" C:/msys64/mingw64/include/SDL2/SDL.h\" " ; Windows
4342 ; -D SDL_INCLUDE_PATH="\"SDL2/SDL.h"\" ;MACOS
44- ; -I /opt/homebrew/Cellar/sdl2/2.0.22/include/ ;MACOS
43+ ; !find /opt/homebrew/Cellar/sdl2 -name "include" | sed "s/^/-I /" ;MACOS
44+ ; !find /opt/homebrew/Cellar/sdl2 -name "libSDL2.a" | xargs dirname | sed "s/^/-L /" ;MACOS
45+
4546
4647lib_deps =
4748 ${env.lib_deps}
You can’t perform that action at this time.
0 commit comments