Skip to content

Commit

Permalink
fixup! Find more liblsl variants (debug, without bitness suffix) in l…
Browse files Browse the repository at this point in the history
…ocal dir as well as the system search path
  • Loading branch information
tstenner committed Aug 29, 2019
1 parent 7af0636 commit 3cf8c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylsl/pylsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ def find_liblsl_libraries():
else:
raise RuntimeError("unrecognized operating system:", os_name)

libbasepath = os.path.join(os.path.dirname(__file__), 'liblsl')
libbasepath = os.path.join(os.path.dirname(__file__), 'lib')
for debugsuffix in ['', '-debug']:
for bitness in ['', str(8 * struct.calcsize("P"))]:
path = libbasepath + bitness + debugsuffix + libsuffix
Expand Down

0 comments on commit 3cf8c3d

Please sign in to comment.