diff options
author | George Hartzell <hartzell@alerce.com> | 2020-04-07 15:00:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 17:00:53 -0500 |
commit | 153c888432a7920bf8a416d3309a29c8aaa3d38b (patch) | |
tree | bfb4f0c5efc794137bd1ab2dbf1eb9a2dca8fd6f | |
parent | 45fe9add2e6518c00749a46775c6ddec1b8d80ad (diff) | |
download | spack-153c888432a7920bf8a416d3309a29c8aaa3d38b.tar.gz spack-153c888432a7920bf8a416d3309a29c8aaa3d38b.tar.bz2 spack-153c888432a7920bf8a416d3309a29c8aaa3d38b.tar.xz spack-153c888432a7920bf8a416d3309a29c8aaa3d38b.zip |
Fix lua build, missing deref of self for spec (#15927)
Looks like something changed and a case was missed.
Function doesn't have a spec arg, need to dereference it off of
self.
Builds on OS X.
-rw-r--r-- | var/spack/repos/builtin/packages/lua/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py index 420e3b041a..910d8b252f 100644 --- a/var/spack/repos/builtin/packages/lua/package.py +++ b/var/spack/repos/builtin/packages/lua/package.py @@ -139,7 +139,7 @@ class Lua(Package): if dependent_spec.package.extends(self.spec): env.prepend_path('LUA_PATH', ';'.join(lua_patterns), separator=';') - if '+shared' in spec: + if '+shared' in self.spec: env.prepend_path('LUA_CPATH', ';'.join(lua_cpatterns), separator=';') |