We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efe2fd3 commit 091da48Copy full SHA for 091da48
lib/tsdl.ml
@@ -59,7 +59,10 @@ let lib_sdl2 =
59
try trylib "/usr/local/lib/libSDL2.dylib"
60
with _ -> (* Homebrew Apple Silicon (M1/M2/M3) *)
61
try trylib "/opt/homebrew/lib/libSDL2.dylib"
62
- with _ -> begin
+ with _ -> (* Macports *)
63
+ try trylib "/opt/local/lib/libSDL2.dylib"
64
+ with _ ->
65
+ begin
66
print_endline "Could not find SDL2 library file.";
67
None
68
end
0 commit comments