Skip to content

Commit b49212c

Browse files
committed
Library loading fix for Linux
Should fix #11
1 parent a6c6d72 commit b49212c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

openal/library_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def load_other(name, paths = None):
5151
library = ctypes.util.find_library(candidate)
5252
if library:
5353
try:
54-
return ctypes.CDLL(os.path.realpath(library))
54+
return ctypes.CDLL(library)
5555
except:
5656
pass
5757

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
platform = None
1616

1717
if (len(sys.argv) == 4):
18+
print(sys.argv)
1819
if (sys.argv[3] == "win-amd64"):
1920
platform = 64
2021
elif (sys.argv[3] == "win32"):
@@ -28,7 +29,7 @@
2829
# Versions should comply with PEP440. For a discussion on single-sourcing
2930
# the version across setup.py and the project code, see
3031
# https://packaging.python.org/en/latest/single_source_version.html
31-
version='0.7.10a1',
32+
version='0.7.11a1',
3233

3334
description='OpenAL integration for Python',
3435
long_description=open(path.join(here, 'README.md')).read(),

0 commit comments

Comments
 (0)