Use shared=True to find libraries, since this is the default (#20907)

package also does not expose a shared variant
This commit is contained in:
Thomas Madlener
2021-01-18 23:51:44 +01:00
committed by GitHub
parent 777901843f
commit e960721c65

View File

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