Arnaud Bergeron wrote: > Then change the function to this: > > def sonameprefix(env): > if env['PLATFORM']=="darwin": > return "-Wl,-dylib_install_name -Wl," > elif env['PLATFORM']==<what you found>: > if 'GNU' in os.system('ld --version'): > return <GNU flags> > else: > return <non-GNU flags> > else: > return '-Wl,-soname,' > > And it should work. > > Arnaud
Thank you very much. I'll try that now. I just did a quick hack and forced the flags to for Solaris with the Sun linker, but it would have broken on linux. I'll now do this properly. I'll have to get a book on python - I guess a visit to amazon.co.uk is in order! --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---