udunits: Add libs property to recipe to find libudunits2 (#33764)

This commit is contained in:
Glenn Johnson 2022-11-09 18:43:20 -06:00 committed by GitHub
parent 6b782e6d7e
commit 5142ebdd57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,3 +33,7 @@ class Udunits(AutotoolsPackage):
)
depends_on("expat")
@property
def libs(self):
return find_libraries(["libudunits2"], root=self.prefix, recursive=True, shared=True)