diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/root/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/root/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py index 2626f71f80..ff87307f30 100644 --- a/var/spack/repos/builtin/packages/root/package.py +++ b/var/spack/repos/builtin/packages/root/package.py @@ -611,7 +611,7 @@ class Root(CMakePackage): env.prepend_path("ROOT_INCLUDE_PATH", dependent_spec.prefix.include) if "+rpath" not in self.spec: env.prepend_path("LD_LIBRARY_PATH", self.prefix.lib.root) - if "platform=darwin" in spec: + if "platform=darwin" in self.spec: # Newer deployment targets cause fatal errors in rootcling env.unset("MACOSX_DEPLOYMENT_TARGET") |