diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py index 763f6c5cbe..ff206be5cc 100644 --- a/var/spack/repos/builtin/packages/lua/package.py +++ b/var/spack/repos/builtin/packages/lua/package.py @@ -102,7 +102,7 @@ def setup_dependent_environment(self, spack_env, run_env, dependent_spec): deptypes=('build', 'run'), deptype_query='run'): if d.package.extends(self.spec): lua_paths.append(os.path.join(d.prefix, self.lua_lib_dir)) - lua_paths.append(os.path.join(d.prefix, self.lua64_lib_dir)) + lua_paths.append(os.path.join(d.prefix, self.lua_lib64_dir)) lua_paths.append(os.path.join(d.prefix, self.lua_share_dir)) lua_patterns = []