mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 03:39:03 -04:00
24 lines
940 B
Diff
24 lines
940 B
Diff
diff -up src/module_list.py.orig src/module_list.py
|
|
--- src/module_list.py.orig 2019-10-03 14:49:57.072685858 -0300
|
|
+++ src/module_list.py 2019-10-03 14:50:05.889737429 -0300
|
|
@@ -2,7 +2,7 @@ import os
|
|
from distutils.extension import Extension
|
|
from sage.env import SAGE_LOCAL
|
|
|
|
-SAGE_INC = os.path.join(SAGE_LOCAL, 'include')
|
|
+SAGE_INC = '/usr/include'
|
|
|
|
#########################################################
|
|
### pkg-config setup
|
|
diff -up src/sage/misc/cython.py.orig src/sage/misc/cython.py
|
|
--- src/sage/misc/cython.py.orig 2019-10-03 14:49:48.553636029 -0300
|
|
+++ src/sage/misc/cython.py 2019-10-03 14:50:05.890737435 -0300
|
|
@@ -46,7 +46,7 @@ standard_libs = [
|
|
] + cblas_libs + [
|
|
'ntl']
|
|
|
|
-standard_libdirs = [os.path.join(SAGE_LOCAL, "lib")] + cblas_library_dirs
|
|
+standard_libdirs = [os.path.realpath(os.path.join(SAGE_LOCAL, "lib"))] + cblas_library_dirs
|
|
|
|
|
|
################################################################
|