Search for libfribidi.dylib in /usr/local/lib

This commit is contained in:
Andrew Murray 2022-04-05 09:28:41 +10:00
parent 986ae73562
commit b2081a60eb

View File

@ -49,6 +49,9 @@ int load_fribidi(void) {
if (!p_fribidi) {
p_fribidi = dlopen("libfribidi.dylib", RTLD_LAZY);
}
if (!p_fribidi) {
p_fribidi = dlopen("/usr/local/lib/libfribidi.dylib", RTLD_LAZY);
}
#else
#define LOAD_FUNCTION(func) \
func = (t_##func)GetProcAddress(p_fribidi, #func); \