Skip to content

Commit

Permalink
Merge pull request #328 from msuch/mac-import-fix
Browse files Browse the repository at this point in the history
Fix NameError for _machine reference when loading 'sndfile' library on darwin
  • Loading branch information
bastibe authored Feb 23, 2022
2 parents 985d36e + 4b4d4d3 commit 8cc732a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soundfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
except OSError:
if _sys.platform == 'darwin':
from platform import machine as _machine
_packaged_libname = 'libsndfile_' + machine() + '.dylib'
_packaged_libname = 'libsndfile_' + _machine() + '.dylib'
_libname = 'libsndfile.dylib'
elif _sys.platform == 'win32':
from platform import architecture as _architecture
Expand Down

0 comments on commit 8cc732a

Please sign in to comment.