Ticket #2488: patch-scipy.diff

File patch-scipy.diff, 1.0 KB (added by erickt@…, 20 years ago)

patch file

  • scipy_core/scipy_distutils/gnufcompiler.py

     
    2727        'compiler_f77' : [fc_exe,"-Wall","-fno-second-underscore"],
    2828        'compiler_f90' : None,
    2929        'compiler_fix' : None,
    30         'linker_so'    : [fc_exe],
     30        'linker_so'    : ['gcc -bundle -flat_namespace -undefined suppress'],
    3131        'archiver'     : ["ar", "-cr"],
    3232        'ranlib'       : ["ranlib"],
    3333        }
     
    5252                # This is when Python is from Apple framework
    5353                opt.extend(["-Wl,-framework","-Wl,Python"])
    5454            #else we are running in Fink python.
    55             opt.extend(["-lcc_dynamic","-bundle"])
     55#           opt.extend(["-lcc_dynamic","-bundle"])
    5656        else:
    5757            opt.append("-shared")
    5858        if sys.platform[:5]=='sunos':
     
    9494            opt.extend(['gcc',g2c])
    9595        else:
    9696            opt.append(g2c)
     97        opt.append('cc_dynamic')
    9798        return opt
    9899
    99100    def get_flags_debug(self):