Ticket #2488: patch-scipy.diff
File patch-scipy.diff, 1.0 KB (added by erickt@…, 20 years ago) |
---|
-
scipy_core/scipy_distutils/gnufcompiler.py
27 27 'compiler_f77' : [fc_exe,"-Wall","-fno-second-underscore"], 28 28 'compiler_f90' : None, 29 29 'compiler_fix' : None, 30 'linker_so' : [ fc_exe],30 'linker_so' : ['gcc -bundle -flat_namespace -undefined suppress'], 31 31 'archiver' : ["ar", "-cr"], 32 32 'ranlib' : ["ranlib"], 33 33 } … … 52 52 # This is when Python is from Apple framework 53 53 opt.extend(["-Wl,-framework","-Wl,Python"]) 54 54 #else we are running in Fink python. 55 55 # opt.extend(["-lcc_dynamic","-bundle"]) 56 56 else: 57 57 opt.append("-shared") 58 58 if sys.platform[:5]=='sunos': … … 94 94 opt.extend(['gcc',g2c]) 95 95 else: 96 96 opt.append(g2c) 97 opt.append('cc_dynamic') 97 98 return opt 98 99 99 100 def get_flags_debug(self):