Fixes needed to build htop (#3691)

* Fixes needed to build htop

* Build libncursesw.so, not libncurses.so

* Remove htop hack now that it is picking up newer ncurses

* Tell packages to link to new ncursesw libraries
This commit is contained in:
Adam J. Stewart
2017-04-05 16:03:11 -05:00
committed by GitHub
parent 87eafaa125
commit 745e2ce52f
6 changed files with 10 additions and 5 deletions

View File

@@ -67,14 +67,14 @@ def install(self, spec, prefix):
'MYLDFLAGS=-L%s -L%s' % (
spec['readline'].prefix.lib,
spec['ncurses'].prefix.lib),
'MYLIBS=-lncurses',
'MYLIBS=-lncursesw',
'CC=%s -std=gnu99' % spack_cc,
target)
make('INSTALL_TOP=%s' % prefix,
'MYLDFLAGS=-L%s -L%s' % (
spec['readline'].prefix.lib,
spec['ncurses'].prefix.lib),
'MYLIBS=-lncurses',
'MYLIBS=-lncursesw',
'CC=%s -std=gnu99' % spack_cc,
'install')