summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/portage/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/portage/package.py b/var/spack/repos/builtin/packages/portage/package.py
index b3fd376832..de77330983 100644
--- a/var/spack/repos/builtin/packages/portage/package.py
+++ b/var/spack/repos/builtin/packages/portage/package.py
@@ -48,4 +48,7 @@ class Portage(CMakePackage):
else:
options.append('-DENABLE_MPI=OFF')
+ options.append("-DLAPACKE_LIBRARIES=" +
+ self.spec["lapack"].libs.joined(";"))
+
return options