Ticket #9776: trac_9776.patch

File trac_9776.patch, 794 bytes (added by Mike Hansen, 12 years ago)
  • module_list.py

    # HG changeset patch
    # User Mike Hansen <mhansen@gmail.com>
    # Date 1282415110 25200
    # Node ID 5157f9ec1f45e9ea8495fbe80de9a1d29ce22145
    # Parent  5b338f2e484f2065d3d30d47bc204d6e9ed13d12
    #9776: Cygwin: GLPK extension module needs to be more explicit in its linking
    
    diff -r 5b338f2e484f -r 5157f9ec1f45 module_list.py
    a b  
    15821582                  ["sage/numerical/mip_glpk.pyx"],
    15831583                  include_dirs = [SAGE_ROOT+"/local/include/", "sage/c_lib/include/"],
    15841584                  language = 'c++',
    1585                   libraries=["csage", "stdc++", "glpk"])
     1585                  libraries=["csage", "stdc++", "glpk", "gmp", "z"])
    15861586        )
    15871587
    15881588if is_package_installed('cbc'):