mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +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 */
|
||||
#if !defined(_MSC_VER)
|
||||
p_raqm.raqm = dlopen("libraqm.so.0", RTLD_LAZY);
|
||||
if (!p_raqm.raqm) {
|
||||
p_raqm.raqm = dlopen("libraqm.dylib", RTLD_LAZY);
|
||||
}
|
||||
#else
|
||||
p_raqm.raqm = LoadLibrary("libraqm");
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user