Skip to content

Commit

Permalink
Merge 48c0e3a into aa6ce79
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Feb 2, 2016
2 parents aa6ce79 + 48c0e3a commit 9351f5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wand/api.py
Expand Up @@ -1395,7 +1395,10 @@ class AffineMatrix(ctypes.Structure):
libc = ctypes.CDLL(msvcrt)
else:
if platform.system() == 'Darwin':
libc = ctypes.cdll.LoadLibrary('libc.dylib')
if platform.mac_ver()[0].startswith('10.11'):
libc = ctypes.cdll.LoadLibrary('/usr/lib/libc.dylib')
else:
libc = ctypes.cdll.LoadLibrary('libc.dylib')
elif platform.system() == 'FreeBSD':
libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
else:
Expand Down

0 comments on commit 9351f5a

Please sign in to comment.