'Create a shared library *output* linking the given *objects*
and *libraries* (all strings).'

def link_shared(self, output, objects, libraries=(), library_dirs=(), export_symbols=(), extra_ldflags=None):

    (output_dir, output_filename) = os.path.split(output)
    self._compiler.link(CCompiler.SHARED_OBJECT, objects, output_filename, output_dir, libraries, library_dirs, export_symbols=export_symbols, extra_preargs=extra_ldflags)
