diff options
-rw-r--r-- | var/spack/repos/builtin/packages/mesa/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py index 4132ba0ff4..5a2893a645 100644 --- a/var/spack/repos/builtin/packages/mesa/package.py +++ b/var/spack/repos/builtin/packages/mesa/package.py @@ -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 @@ class Mesa(AutotoolsPackage): def configure_args(self): spec = self.spec args = [ + 'LDFLAGS={0}'.format(self.spec['ncurses'].libs.search_flags), '--enable-shared', '--disable-static', '--disable-libglvnd', |