mesa: drop use of shared variant (#20453)

Mesa no longer supports building static libraries so it doesn't
even make sense to add the variant.
This commit is contained in:
Chuck Atkins 2020-12-18 10:58:51 -05:00 committed by GitHub
parent 594512bdb3
commit 8755d577c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,7 +198,6 @@ def libs(self):
if libs_to_seek:
return find_libraries(list(libs_to_seek),
root=self.spec.prefix,
shared='+shared' in self.spec,
recursive=True)
return LibraryList()
@ -206,19 +205,16 @@ def libs(self):
def osmesa_libs(self):
return find_libraries('libOSMesa',
root=self.spec.prefix,
shared='+shared' in self.spec,
recursive=True)
@property
def glx_libs(self):
return find_libraries('libGL',
root=self.spec.prefix,
shared='+shared' in self.spec,
recursive=True)
@property
def gl_libs(self):
return find_libraries('libGL',
root=self.spec.prefix,
shared='+shared' in self.spec,
recursive=True)