# HG changeset patch
# User Mike Hansen <mhansen@gmail.com>
# Date 1332998212 25200
# Node ID c5321f6cd61c9e66e60e0817d7285110acdfb543
# Parent 4a70ec98d93b55543c9b7b1bd0c559e689d821ae
#9914: Remove libraries from extension modules when they are not needed there at build time
diff --git a/module_list.py b/module_list.py
a
|
b
|
|
612 | 612 | "marith.h","htconst.h","interface.h"] |
613 | 613 | ], |
614 | 614 | libraries = ["curvesntl", "g0nntl", "jcntl", "rankntl", |
615 | | "ntl", "gmp", "gmpxx", "stdc++", "m", "pari"]), |
616 | | # IMHO "pari" could be removed here, but some people |
617 | | # claim it is needed on Cygwin (see #9896, #9914). |
618 | | # If so, we should use uname_specific(). -leif |
| 615 | "ntl", "gmp", "gmpxx", "stdc++", "m"]), |
619 | 616 | |
620 | 617 | Extension('sage.libs.pari.gen', |
621 | 618 | sources = ["sage/libs/pari/gen.pyx"], |
… |
… |
|
705 | 702 | Extension('sage.libs.cremona.homspace', |
706 | 703 | sources = ["sage/libs/cremona/homspace.pyx"], |
707 | 704 | libraries = ['g0nntl', 'jcntl', 'gmpxx', 'ntl', 'gmp', |
708 | | 'm', 'stdc++', 'pari', 'curvesntl'], |
709 | | # IMHO "pari" could be removed here, but some people |
710 | | # claim it is needed on Cygwin (see #9896, #9914). |
711 | | # If so, we should use uname_specific(). -leif |
| 705 | 'm', 'stdc++', 'curvesntl'], |
712 | 706 | language='c++', |
713 | 707 | define_macros = [("NTL_ALL",None)], |
714 | 708 | depends = [ SAGE_INC + "eclib/" + h for h in |
… |
… |
|
730 | 724 | Extension('sage.libs.cremona.newforms', |
731 | 725 | sources = ["sage/libs/cremona/newforms.pyx"], |
732 | 726 | libraries = ['g0nntl', 'jcntl', 'gmpxx', 'ntl', 'gmp', |
733 | | 'm', 'stdc++', 'pari', 'curvesntl'], |
734 | | # IMHO "pari" could be removed here, but some people |
735 | | # claim it is needed on Cygwin (see #9896, #9914). |
736 | | # If so, we should use uname_specific(). -leif |
| 727 | 'm', 'stdc++', 'curvesntl'], |
737 | 728 | language='c++', |
738 | 729 | define_macros = [("NTL_ALL",None)], |
739 | 730 | depends = [ SAGE_INC + "eclib/" + h for h in |