diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/emacs/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/emacs/package.py b/var/spack/repos/builtin/packages/emacs/package.py index 6842e79043..1b3166f2c4 100644 --- a/var/spack/repos/builtin/packages/emacs/package.py +++ b/var/spack/repos/builtin/packages/emacs/package.py @@ -51,7 +51,7 @@ class Emacs(AutotoolsPackage, GNUMirrorPackage): def setup_build_environment(self, env): # on macOS, emacs' config does search hard enough for ncurses' # termlib `-ltinfo` lib, which results in linker errors - if '+termlib' in spec['ncurses']: + if '+termlib' in self.spec['ncurses']: env.append_flags('LDFLAGS', '-ltinfo') def configure_args(self): |