diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/readline/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/readline/package.py b/var/spack/repos/builtin/packages/readline/package.py index 5beafd5829..e6476d39c3 100644 --- a/var/spack/repos/builtin/packages/readline/package.py +++ b/var/spack/repos/builtin/packages/readline/package.py @@ -45,4 +45,8 @@ class Readline(AutotoolsPackage): patch('readline-6.3-upstream_fixes-1.patch', when='@6.3') def build(self, spec, prefix): - make('SHLIB_LIBS=-lncursesw') + options = [ + 'SHLIB_LIBS=-L{0} -lncursesw'.format(spec['ncurses'].prefix.lib) + ] + + make(*options) |