diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-16 14:21:34 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-16 14:21:34 -0500 |
commit | 7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984 (patch) | |
tree | 95c21b175d249070039a7eaa2ab8b8a2b2a6aa27 /libre/sagemath/c_lib.patch | |
parent | 5c9e07c02b8174ddb3782bfd24c58451654bfe5a (diff) | |
download | abslibre-7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984.tar.gz abslibre-7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984.tar.bz2 abslibre-7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984.zip |
sagemath: add new package to [libre]
Diffstat (limited to 'libre/sagemath/c_lib.patch')
-rw-r--r-- | libre/sagemath/c_lib.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/sagemath/c_lib.patch b/libre/sagemath/c_lib.patch new file mode 100644 index 000000000..6df7b8efa --- /dev/null +++ b/libre/sagemath/c_lib.patch @@ -0,0 +1,17 @@ +--- src/setup.py.orig 2014-11-01 23:49:10.000000000 +0100 ++++ src/setup.py 2014-11-07 00:40:58.414838636 +0100 +@@ -171,10 +171,12 @@ + m.libraries = ['csage'] + m.libraries + if m.language == 'c++': + m.libraries.append('stdc++') ++ m.libraries.append('ntl') ++ m.libraries = m.libraries + ['gmp', 'm', 'dl'] + + m.extra_compile_args = m.extra_compile_args + extra_compile_args + m.extra_link_args = m.extra_link_args + extra_link_args +- m.library_dirs = m.library_dirs + [os.path.join(SAGE_LOCAL, "lib")] ++ m.library_dirs += ['c_lib', '%s/lib' % SAGE_LOCAL] + m.include_dirs = m.include_dirs + include_dirs + + + |