--- src/tsdl_ttf.ml.orig 2023-08-05 17:46:54.000000000 +0800 +++ src/tsdl_ttf.ml 2025-10-18 13:57:35.000000000 +0800 @@ -73,7 +73,7 @@ let env = try Sys.getenv "LIBSDL2_PATH" with Not_found -> "" in let filename, path = match Build_config.system with - | "macosx" -> ("libSDL2_ttf-2.0.0.dylib", [ "/opt/homebrew/lib/" ]) + | "macosx" -> ("libSDL2_ttf-2.0.0.dylib", [ "@PREFIX@/lib/" ]) | "win32" | "win64" -> (* On native Windows DLLs are loaded from the PATH *) ("SDL2_ttf.dll", [ "" ])