This commit is contained in:
parent
d59ee8d07d
commit
90c8243113
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ class Silo(Package):
|
||||||
|
|
||||||
patch('remove-mpiposix.patch', when='@4.8:4.10.2')
|
patch('remove-mpiposix.patch', when='@4.8:4.10.2')
|
||||||
|
|
||||||
|
def flag_handler(self, name, flags):
|
||||||
|
if name == 'ldflags' and self.spec['hdf5'].satisfies('~shared'):
|
||||||
|
flags.append('-ldl')
|
||||||
|
return (flags, None, None)
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
config_args = [
|
config_args = [
|
||||||
'--enable-fortran' if '+fortran' in spec else '--disable-fortran',
|
'--enable-fortran' if '+fortran' in spec else '--disable-fortran',
|
||||||
|
|
Loading…
Reference in a new issue