summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/openjpeg/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openjpeg/package.py b/var/spack/repos/builtin/packages/openjpeg/package.py
index 6b72168177..c451758ef0 100644
--- a/var/spack/repos/builtin/packages/openjpeg/package.py
+++ b/var/spack/repos/builtin/packages/openjpeg/package.py
@@ -50,3 +50,8 @@ class Openjpeg(CMakePackage):
'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)