Skip to content

Commit

Permalink
fixing cythonisation in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Dec 10, 2024
1 parent 9bebd39 commit f316fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/misc/cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import shutil

from sage.env import (SAGE_LOCAL, cython_aliases,
sage_include_directories)
sage_include_directories, SAGE_SRC)
from sage.misc.temporary_file import spyx_tmp, tmp_filename
from sage.repl.user_globals import get_globals
from sage.misc.sage_ostools import restore_cwd, redirection
Expand Down Expand Up @@ -58,7 +58,7 @@ def _standard_libs_libdirs_incdirs_aliases():
if SAGE_LOCAL:
standard_libdirs.append(os.path.join(SAGE_LOCAL, "lib"))
standard_libdirs.extend(aliases["CBLAS_LIBDIR"] + aliases["NTL_LIBDIR"])
standard_incdirs = sage_include_directories() + aliases["CBLAS_INCDIR"] + aliases["NTL_INCDIR"]
standard_incdirs = sage_include_directories() + [SAGE_SRC] + aliases["CBLAS_INCDIR"] + aliases["NTL_INCDIR"]
return standard_libs, standard_libdirs, standard_incdirs, aliases

################################################################
Expand Down

0 comments on commit f316fb3

Please sign in to comment.