hdf5: fix link error in dependent packages with %fj (#22512)
This commit is contained in:
parent
1a080b9a00
commit
3d7069e039
1 changed files with 4 additions and 0 deletions
|
@ -287,6 +287,10 @@ def configure_args(self):
|
||||||
'FCFLAGS=' + self.compiler.fc_pic_flag,
|
'FCFLAGS=' + self.compiler.fc_pic_flag,
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# Fujitsu Compiler dose not add Fortran runtime in rpath.
|
||||||
|
if '+fortran %fj' in self.spec:
|
||||||
|
extra_args.append('LDFLAGS=-lfj90i -lfj90f -lfjsrcinfo -lelf')
|
||||||
|
|
||||||
if '+mpi' in self.spec:
|
if '+mpi' in self.spec:
|
||||||
# The HDF5 configure script warns if cxx and mpi are enabled
|
# The HDF5 configure script warns if cxx and mpi are enabled
|
||||||
# together. There doesn't seem to be a real reason for this, except
|
# together. There doesn't seem to be a real reason for this, except
|
||||||
|
|
Loading…
Reference in a new issue