Add ncurses+termlib dependency to mesa (#16038)
Mesa links against libtinfo so needs to depend on ncurses. It also needs a little help finding the library directory so an LDFLAGS configure option is added.
This commit is contained in:
parent
2e4e34e6cc
commit
07a4ac67b8
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,7 @@ class Mesa(AutotoolsPackage):
|
|||
depends_on('libxml2')
|
||||
depends_on('zlib')
|
||||
depends_on('expat')
|
||||
depends_on('ncurses+termlib')
|
||||
|
||||
# Internal options
|
||||
variant('llvm', default=True, description="Enable LLVM.")
|
||||
|
@ -83,6 +84,7 @@ def autoreconf(self, spec, prefix):
|
|||
def configure_args(self):
|
||||
spec = self.spec
|
||||
args = [
|
||||
'LDFLAGS={0}'.format(self.spec['ncurses'].libs.search_flags),
|
||||
'--enable-shared',
|
||||
'--disable-static',
|
||||
'--disable-libglvnd',
|
||||
|
|
Loading…
Reference in a new issue