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

Commit

Permalink
fallback for ARB_LIBRARY in src/sage/env.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Jul 19, 2019
1 parent 2c4d350 commit 73dd667
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sage/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ def cython_aliases():
# This is not a problem in practice since LinBox depends on
# fflas-ffpack and fflas-ffpack does add such a C++11 flag.
aliases["LINBOX_CFLAGS"].append("-std=gnu++11")
aliases["ARB_LIBRARY"] = os.environ['SAGE_ARB_LIBRARY']

if os.environ.get('SAGE_ARB_LIBRARY'):
aliases["ARB_LIBRARY"] = os.environ['SAGE_ARB_LIBRARY']
else:
aliases["ARB_LIBRARY"] = 'arb'
return aliases

0 comments on commit 73dd667

Please sign in to comment.