Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
restore computing GAP_SO
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Sep 5, 2021
1 parent 6c99fbf commit 69feb67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sage/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,13 @@ def _get_shared_lib_path(*libnames: str) -> Optional[str]:
# Just return None if no files were found
return None


# locate singular shared object
# On Debian it's libsingular-Singular so try that as well
SINGULAR_SO = var("SINGULAR_SO", _get_shared_lib_path("Singular", "singular-Singular"))

# locate libgap shared object
GAP_SO = var("GAP_SO", _get_shared_lib_path("gap", ""))

# post process
if DOT_SAGE is not None and ' ' in DOT_SAGE:
Expand Down

0 comments on commit 69feb67

Please sign in to comment.