Ticket #9914: trac_9914.patch

File trac_9914.patch, 2.3 KB (added by mhansen, 10 years ago)
  • module_list.py

    # 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  
    612612                            "marith.h","htconst.h","interface.h"]
    613613                        ],
    614614              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"]),
    619616   
    620617    Extension('sage.libs.pari.gen',
    621618              sources = ["sage/libs/pari/gen.pyx"],
     
    705702    Extension('sage.libs.cremona.homspace',
    706703              sources = ["sage/libs/cremona/homspace.pyx"],
    707704              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'],
    712706              language='c++',
    713707              define_macros = [("NTL_ALL",None)],
    714708              depends = [ SAGE_INC + "eclib/" + h for h in
     
    730724    Extension('sage.libs.cremona.newforms',
    731725              sources = ["sage/libs/cremona/newforms.pyx"],
    732726              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'],
    737728              language='c++',
    738729              define_macros = [("NTL_ALL",None)],
    739730              depends = [ SAGE_INC + "eclib/" + h for h in