Allow find_libraries to accept lists or strings (#3363)

* Allow find_libraries to accept lists or strings

* Convert one more example from list to string
This commit is contained in:
Adam J. Stewart
2017-03-04 11:23:57 -06:00
committed by GitHub
parent 192a4b30f0
commit a2d70a45fb
10 changed files with 30 additions and 28 deletions

View File

@@ -62,7 +62,7 @@ class NetlibScalapack(Package):
def scalapack_libs(self):
shared = True if '+shared' in self.spec else False
return find_libraries(
['libscalapack'], root=self.prefix, shared=shared, recurse=True
'libscalapack', root=self.prefix, shared=shared, recurse=True
)
def install(self, spec, prefix):