mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
Do not install patched Cython to buildroot
It is not required, and also try hard to not reference buildroot in cython arguments.
This commit is contained in:
parent
35785b9c1d
commit
9737ac2051
2 changed files with 12 additions and 15 deletions
|
@ -49,3 +49,15 @@ diff -up src/setup.py.orig src/setup.py
|
|||
### Install also Jupyter kernel spec
|
||||
#########################################################
|
||||
|
||||
diff -up src/sage/misc/cython.py.orig src/sage/misc/cython.py
|
||||
--- src/sage/misc/cython.py.orig 2016-08-24 11:51:48.802265784 -0400
|
||||
+++ src/sage/misc/cython.py 2016-08-24 11:52:36.723267619 -0400
|
||||
@@ -426,7 +426,7 @@ extra_compile_args = %s
|
||||
|
||||
ext_modules = [Extension('%s', sources=['%s.%s', %s],
|
||||
libraries=%s,
|
||||
- library_dirs=[SAGE_LOCAL + '/lib/'] + %s,
|
||||
+ library_dirs=[os.path.realpath(SAGE_LOCAL + '/lib/')] + %s,
|
||||
extra_compile_args = extra_compile_args,
|
||||
language = '%s' )]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue