mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-09 15:43:18 +03:00
osx support
This commit is contained in:
parent
67a0f8431f
commit
00b2783607
|
@ -131,6 +131,9 @@ setraqm(void)
|
||||||
/* Microsoft needs a totally different system */
|
/* Microsoft needs a totally different system */
|
||||||
#if !defined(_MSC_VER)
|
#if !defined(_MSC_VER)
|
||||||
p_raqm.raqm = dlopen("libraqm.so.0", RTLD_LAZY);
|
p_raqm.raqm = dlopen("libraqm.so.0", RTLD_LAZY);
|
||||||
|
if (!p_raqm.raqm) {
|
||||||
|
p_raqm.raqm = dlopen("libraqm.dylib", RTLD_LAZY);
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
p_raqm.raqm = LoadLibrary("libraqm");
|
p_raqm.raqm = LoadLibrary("libraqm");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user