lua: bring in run deps of build and run deps
This commit is contained in:
parent
a82385cdae
commit
39aef5fc00
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user