diff options
Diffstat (limited to 'audio/py-pysndfile/files/patch-setup.py')
-rw-r--r-- | audio/py-pysndfile/files/patch-setup.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/py-pysndfile/files/patch-setup.py b/audio/py-pysndfile/files/patch-setup.py new file mode 100644 index 000000000000..29b0b4bc971a --- /dev/null +++ b/audio/py-pysndfile/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2025-01-07 09:16:36 UTC ++++ setup.py +@@ -57,7 +57,7 @@ def find_libsndfile(): + # only check for the mandatory main library, others are + # optional + found_lib = (tmp_lib_dir / "libsndfile.a").exists() +- elif platform.system() == "Linux": ++ elif platform.system() == "Linux" or platform.system() == "FreeBSD": + found_lib = (tmp_lib_dir / "libsndfile.so").exists() + elif platform.system() == "Darwin": + found_lib = (tmp_lib_dir / "libsndfile.dylib").exists() |