nixpkgs/pkgs/development/python-modules/wavefile/libsndfile.py.patch
yuu 5fd4c742d8
python3Packages.wavefile: init at 1.5
Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Thiago K. Okada <thiagokokada@gmail.com>
2021-11-11 18:09:57 -03:00

19 lines
540 B
Diff

diff --git a/wavefile/libsndfile.py b/wavefile/libsndfile.py
index 67f0a46..ce066ee 100644
--- a/wavefile/libsndfile.py
+++ b/wavefile/libsndfile.py
@@ -19,11 +19,11 @@ import numpy as np
if sys.platform == "win32":
dllName = 'libsndfile-1'
elif "linux" in sys.platform:
- dllName = 'libsndfile.so.1'
+ dllName = '@libsndfile@'
elif "cygwin" in sys.platform:
dllName = 'libsndfile-1.dll'
elif "darwin" in sys.platform:
- dllName = 'libsndfile.dylib'
+ dllName = '@libsndfile@'
else:
dllName = 'libsndfile'