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

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Nov 12, 2020
1 parent 94e20c7 commit 6dd6e5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def _get_shared_lib_path(libname, *additional_libnames) -> Optional[str]:
search_directories = [_get_sage_local() / 'lib']
libdir = sysconfig.get_config_var('LIBDIR')
if libdir is not None:
libdir = Path(libdir_str)
libdir = Path(libdir)
search_directories.append(libdir)

multiarchlib = sysconfig.get_config_var('MULTIARCH')
Expand All @@ -291,11 +291,11 @@ def _get_sage_local() -> Path:

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

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

# post process
Expand Down

0 comments on commit 6dd6e5c

Please sign in to comment.