diff --git a/var/spack/repos/builtin/packages/r-rjava/package.py b/var/spack/repos/builtin/packages/r-rjava/package.py index 354de8769e..765b8b7dc1 100644 --- a/var/spack/repos/builtin/packages/r-rjava/package.py +++ b/var/spack/repos/builtin/packages/r-rjava/package.py @@ -30,6 +30,7 @@ class RRjava(RPackage): depends_on("libiconv") depends_on("pcre2") depends_on("xz") + depends_on("zlib") def setup_build_environment(self, env): spec = self.spec