summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/wavefile/libsndfile.py.patch
blob: 6e10e6b6c03c8c8834ac142ecb2ad3330d61a511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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'