diff options
author | Veselin Dobrev <v-dobrev@users.noreply.github.com> | 2020-03-28 03:30:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 11:30:05 +0100 |
commit | 9f7255da71c3bac2ee55d9b172136c6752fe2f4f (patch) | |
tree | c472a321286591238884a9d18c8c9190cf683913 | |
parent | db67b78fb9133d45645d2fddcff4cbdc14f84917 (diff) | |
download | spack-9f7255da71c3bac2ee55d9b172136c6752fe2f4f.tar.gz spack-9f7255da71c3bac2ee55d9b172136c6752fe2f4f.tar.bz2 spack-9f7255da71c3bac2ee55d9b172136c6752fe2f4f.tar.xz spack-9f7255da71c3bac2ee55d9b172136c6752fe2f4f.zip |
mesa: re-introduce the libs property (#15716)
They were originally added in #8904 and later removed (why?) in #10482.
-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 d46c75796e..4132ba0ff4 100644 --- a/var/spack/repos/builtin/packages/mesa/package.py +++ b/var/spack/repos/builtin/packages/mesa/package.py @@ -174,3 +174,11 @@ class Mesa(AutotoolsPackage): args.append('--with-dri-drivers=' + ','.join(args_dri_drivers)) return args + + @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 |