summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2022-04-28 19:38:19 -0700
committerGitHub <noreply@github.com>2022-04-29 02:38:19 +0000
commit8a6b73bb2cb285904398224e743e405cea87dcce (patch)
tree171c58aa3c27cb925fa042d239ceb6bc55f9776d
parent9e6298569eabdbcbddf3581e416b6008bcd273ee (diff)
downloadspack-8a6b73bb2cb285904398224e743e405cea87dcce.tar.gz
spack-8a6b73bb2cb285904398224e743e405cea87dcce.tar.bz2
spack-8a6b73bb2cb285904398224e743e405cea87dcce.tar.xz
spack-8a6b73bb2cb285904398224e743e405cea87dcce.zip
package/kealib: add libs property (#30391)
Co-authored-by: sbulut <sbulut@3vgeomatics.com>
-rw-r--r--var/spack/repos/builtin/packages/kealib/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kealib/package.py b/var/spack/repos/builtin/packages/kealib/package.py
index 96320beb51..88694bfcd1 100644
--- a/var/spack/repos/builtin/packages/kealib/package.py
+++ b/var/spack/repos/builtin/packages/kealib/package.py
@@ -62,3 +62,8 @@ class Kealib(CMakePackage):
'-DHDF5_LIB_PATH={0}'.format(
spec['hdf5'].libs.directories[0])
]
+
+ @property
+ def libs(self):
+ return find_libraries('libkea', self.prefix,
+ shared=True, recursive=True)