diff options
author | Geoffrey Oxberry <goxberry@gmail.com> | 2018-01-31 16:12:44 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-01-31 16:12:44 -0800 |
commit | 514f0bf5c546d666f32c02ea652658dcf3b85c8c (patch) | |
tree | 4a2f0741600d57bc5f8dccf0abe4db0480c760d0 | |
parent | 7959c5ffd24ac8955d121f4fb9c6b5bbdeeaa4dd (diff) | |
download | spack-514f0bf5c546d666f32c02ea652658dcf3b85c8c.tar.gz spack-514f0bf5c546d666f32c02ea652658dcf3b85c8c.tar.bz2 spack-514f0bf5c546d666f32c02ea652658dcf3b85c8c.tar.xz spack-514f0bf5c546d666f32c02ea652658dcf3b85c8c.zip |
lz4 platform=darwin: fix dylib name (#7112)
-rw-r--r-- | var/spack/repos/builtin/packages/lz4/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lz4/package.py b/var/spack/repos/builtin/packages/lz4/package.py index 977167dd28..a71b9699ce 100644 --- a/var/spack/repos/builtin/packages/lz4/package.py +++ b/var/spack/repos/builtin/packages/lz4/package.py @@ -23,6 +23,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * +import sys class Lz4(Package): @@ -53,3 +54,8 @@ class Lz4(Package): if self.run_tests: make('test') # requires valgrind to be installed make('install', 'PREFIX={0}'.format(prefix)) + + @run_after('install') + def darwin_fix(self): + if sys.platform == 'darwin': + fix_darwin_install_name(self.prefix.lib) |