'Add symlinks into bin/, lib/ (eg, for other applications)'

def install_links(self):

    with working_dir(self.projectdir):
        os.symlink(join_path('.spack', 'build.out'), join_path(('log.' + str(self.foam_arch))))
    if (not self.config['link']):
        return
    with working_dir(self.projectdir):
        if os.path.isdir(self.archlib):
            os.symlink(self.archlib, 'lib')
    with working_dir(join_path(self.projectdir, 'bin')):
        for f in [f for f in glob.glob(join_path('..', self.archbin, '*')) if os.path.isfile(f)]:
            os.symlink(f, os.path.basename(f))
