Skip to content

Commit 6a36cd0

Browse files
author
Ville Tuulos
committed
remove hardcoded /usr/local libary path
1 parent b18affa commit 6a36cd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

traildb/traildb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
from datetime import datetime
1212

1313
if os.name == "posix" and sys.platform == "darwin":
14-
lib = CDLL('/usr/local/lib/libtraildb.dylib')
14+
lib = CDLL('libtraildb.dylib')
1515
elif os.name == "posix" and "linux" in sys.platform:
16-
lib = CDLL('/usr/local/lib/libtraildb.so')
16+
lib = CDLL('libtraildb.so')
1717

1818
def api(fun, args, res=None):
1919
fun.argtypes = args

0 commit comments

Comments
 (0)