mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
Search for libfribidi.dylib in /usr/local/lib
This commit is contained in:
parent
986ae73562
commit
b2081a60eb
3
src/thirdparty/fribidi-shim/fribidi.c
vendored
3
src/thirdparty/fribidi-shim/fribidi.c
vendored
|
@ -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); \
|
||||
|
|
Loading…
Reference in New Issue
Block a user