Skip to content

Commit 356826e

Browse files
committed
Use correct shared library name on Darwin
1 parent 33e49d7 commit 356826e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openslide/lowlevel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737

3838
if platform.system() == 'Windows':
3939
_lib = cdll.LoadLibrary('libopenslide-0.dll')
40+
elif platform.system() == 'Darwin':
41+
_lib = cdll.LoadLibrary('libopenslide.0.dylib')
4042
else:
4143
_lib = cdll.LoadLibrary('libopenslide.so.0')
4244

0 commit comments

Comments
 (0)