Add libs property to openjpeg package (#14383)

This commit is contained in:
Adam J. Stewart 2020-01-04 16:46:53 -06:00 committed by GitHub
parent 4d85979ec4
commit 90f4860402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,3 +50,8 @@ def url_for_version(self, version):
'https://github.com/uclouvain/openjpeg/archive/version.{0}.tar.gz'
return url_fmt.format(version)
@property
def libs(self):
return find_libraries('libopenjp{0}'.format(self.version.up_to(1)),
root=self.prefix, recursive=True)