diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/mesa/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/mesa/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py index 1fcd8214af..9869286e03 100644 --- a/var/spack/repos/builtin/packages/mesa/package.py +++ b/var/spack/repos/builtin/packages/mesa/package.py @@ -197,3 +197,11 @@ class Mesa(AutotoolsPackage): configure(*options) else: raise + + @property + def libs(self): + for dir in ['lib64', 'lib']: + libs = find_libraries('libGL', join_path(self.prefix, dir), + shared=True, recursive=False) + if libs: + return libs |