nixpkgs-suyu/pkgs/development/python-modules/mpi4py/tests.patch

14 lines
422 B
Diff
Raw Normal View History

2017-09-15 18:11:45 +02:00
diff --git i/test/test_dl.py w/test/test_dl.py
index a3211a3..9d25569 100644
--- i/test/test_dl.py
+++ w/test/test_dl.py
@@ -12,7 +12,7 @@ class TestDL(unittest.TestCase):
if sys.platform == 'darwin':
libm = 'libm.dylib'
else:
- libm = 'libm.so'
+ libm = 'libm.so.6'
handle = dl.dlopen(libm, dl.RTLD_LOCAL|dl.RTLD_LAZY)
self.assertTrue(handle != 0)