Skip to content

Commit 9adae09

Browse files
committed
BUGFIX: Append SO names to the full library path
1 parent d385b4d commit 9adae09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arrayfire/library.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def _setup():
373373

374374
## OSX specific setup
375375
pre = 'lib'
376-
post = '.dylib'
376+
post = '.3.dylib'
377377

378378
if AF_SEARCH_PATH is None:
379379
AF_SEARCH_PATH='/usr/local/'
@@ -385,7 +385,7 @@ def _setup():
385385

386386
elif platform_name == 'Linux':
387387
pre = 'lib'
388-
post = '.so'
388+
post = '.so.3'
389389

390390
if AF_SEARCH_PATH is None:
391391
AF_SEARCH_PATH='/opt/arrayfire-3/'

0 commit comments

Comments
 (0)