Merge pull request #6182 from radarhere/fribidi

This commit is contained in:
Hugo van Kemenade 2022-04-06 16:59:58 +03:00 committed by GitHub
commit 4996f84fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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); \