void-packages/srcpkgs/sagemath/patches/02-fix_get_shared_lib_path--see_29644.patch
2022-02-03 14:31:06 +01:00

13 lines
439 B
Diff

- fix _get_shared_lib_path() so we don't need to configure GAP_SO
--- a/src/sage/env.py
+++ b/src/sage/env.py
@@ -293,7 +293,7 @@ def _get_shared_lib_path(*libnames: str) -> Optional[str]:
if sys.platform == 'darwin':
ext = 'dylib'
else:
- ext = 'so'
+ ext = 'so*'
if SAGE_LOCAL:
search_directories.append(Path(SAGE_LOCAL) / 'lib')