summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/quantum-espresso/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/quantum-espresso/package.py b/var/spack/repos/builtin/packages/quantum-espresso/package.py
index de522827b4..5188568b19 100644
--- a/var/spack/repos/builtin/packages/quantum-espresso/package.py
+++ b/var/spack/repos/builtin/packages/quantum-espresso/package.py
@@ -377,7 +377,7 @@ class QuantumEspresso(Package):
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: