'Add a library for linking into all libraries created by this
codegen object, without losing the original library.'

def add_linking_library(self, library):

    library._ensure_finalized()
    self._libraries.add(library)
