lua: bring in run deps of build and run deps

This commit is contained in:
Ben Boeckel 2016-05-31 14:32:35 -04:00
parent a82385cdae
commit 39aef5fc00

View File

@ -86,7 +86,7 @@ def append_paths(self, paths, cpaths, path):
def setup_dependent_environment(self, spack_env, run_env, extension_spec):
lua_paths = []
for d in extension_spec.traverse():
for d in extension_spec.traverse(deptypes=nolink, 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.lua_share_dir))