quantum-espresso: fix ldflags for scalapack (#21719)

This commit is contained in:
m-shunji 2021-02-18 19:00:19 +09:00 committed by GitHub
parent 1e16fcfd91
commit 9771903533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -377,7 +377,7 @@ def install(self, spec, prefix):
scalapack_option = 'yes'
options.append('--with-scalapack={0}'.format(scalapack_option))
scalapack_lib = spec['scalapack'].libs
options.append('SCALAPACK_LIBS={0}'.format(scalapack_lib))
options.append('SCALAPACK_LIBS={0}'.format(scalapack_lib.ld_flags))
if '+elpa' in spec: