diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/hdf5-blosc/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5-blosc/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5-blosc/package.py b/var/spack/repos/builtin/packages/hdf5-blosc/package.py index b0ff9536c7..0e0d6dd352 100644 --- a/var/spack/repos/builtin/packages/hdf5-blosc/package.py +++ b/var/spack/repos/builtin/packages/hdf5-blosc/package.py @@ -34,13 +34,13 @@ def _install_shlib(name, src, dst): if sys.platform == "darwin": shlib0 = name + ".0.dylib" shlib = name + ".dylib" - shutil.copyfile(join_path(src, shlib0), join_path(dst, shlib0)) + install(join_path(src, shlib0), join_path(dst, shlib0)) os.symlink(shlib0, join_path(dst, shlib)) else: shlib000 = name + ".so.0.0.0" shlib0 = name + ".so.0" shlib = name + ".dylib" - shutil.copyfile(join_path(src, shlib000), join_path(dst, shlib000)) + install(join_path(src, shlib000), join_path(dst, shlib000)) os.symlink(shlib000, join_path(dst, shlib0)) os.symlink(shlib0, join_path(dst, shlib)) |