My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/wavefile/libsndfile.py.patch

18 lines
540 B

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'