lz4 platform=darwin: fix dylib name (#7112)
This commit is contained in:
parent
7959c5ffd2
commit
514f0bf5c5
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
##############################################################################
|
##############################################################################
|
||||||
from spack import *
|
from spack import *
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
class Lz4(Package):
|
class Lz4(Package):
|
||||||
|
@ -53,3 +54,8 @@ def install(self, spec, prefix):
|
||||||
if self.run_tests:
|
if self.run_tests:
|
||||||
make('test') # requires valgrind to be installed
|
make('test') # requires valgrind to be installed
|
||||||
make('install', 'PREFIX={0}'.format(prefix))
|
make('install', 'PREFIX={0}'.format(prefix))
|
||||||
|
|
||||||
|
@run_after('install')
|
||||||
|
def darwin_fix(self):
|
||||||
|
if sys.platform == 'darwin':
|
||||||
|
fix_darwin_install_name(self.prefix.lib)
|
||||||
|
|
Loading…
Reference in a new issue