summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/rsl/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/rsl/package.py b/var/spack/repos/builtin/packages/rsl/package.py
index b6719d71f0..7ab392277a 100644
--- a/var/spack/repos/builtin/packages/rsl/package.py
+++ b/var/spack/repos/builtin/packages/rsl/package.py
@@ -18,3 +18,12 @@ class Rsl(AutotoolsPackage):
depends_on("bzip2")
depends_on("jpeg")
depends_on("zlib")
+ depends_on("rpc")
+
+ def configure_args(self):
+ config_args = [
+ "LDFLAGS={0}".format(self.spec["rpc"].libs.ld_flags),
+ "CPPFLAGS={0}".format(self.spec["rpc"].headers.cpp_flags),
+ ]
+
+ return config_args