summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/silo/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/silo/package.py b/var/spack/repos/builtin/packages/silo/package.py
index b51c7a0822..5eb541a918 100644
--- a/var/spack/repos/builtin/packages/silo/package.py
+++ b/var/spack/repos/builtin/packages/silo/package.py
@@ -35,6 +35,9 @@ class Silo(AutotoolsPackage):
variant('fpzip', default=True,
description='Enable fpzip support')
+ depends_on('autoconf', type='build', when='+shared')
+ depends_on('automake', type='build', when='+shared')
+ depends_on('libtool', type='build', when='+shared')
depends_on('mpi', when='+mpi')
depends_on('hdf5@:1.10.999', when='@:4.10.2+hdf5')
depends_on('hdf5~mpi', when='~mpi+hdf5')
@@ -103,6 +106,12 @@ class Silo(AutotoolsPackage):
filter_file(r'\b(DOMAIN|RANGE|UNION)\b', repl, *files_to_filter)
+ @property
+ def force_autoreconf(self):
+ # Update autoconf's tests whether libtool supports shared libraries.
+ # (Otherwise, shared libraries are always disabled on Darwin.)
+ return self.spec.satisfies('+shared')
+
def configure_args(self):
spec = self.spec
config_args = [