summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2022-11-09 18:43:20 -0600
committerGitHub <noreply@github.com>2022-11-10 01:43:20 +0100
commit5142ebdd57179b6771515ed0edcbc7f229b85c9f (patch)
treecc710f42a4ca4d306e68ae4ee86b4c577439053f /var
parent6b782e6d7e374d14a6e19ec14b2bf8fd32b72b84 (diff)
downloadspack-5142ebdd57179b6771515ed0edcbc7f229b85c9f.tar.gz
spack-5142ebdd57179b6771515ed0edcbc7f229b85c9f.tar.bz2
spack-5142ebdd57179b6771515ed0edcbc7f229b85c9f.tar.xz
spack-5142ebdd57179b6771515ed0edcbc7f229b85c9f.zip
udunits: Add libs property to recipe to find libudunits2 (#33764)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/udunits/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/udunits/package.py b/var/spack/repos/builtin/packages/udunits/package.py
index dcce887f5d..16baa33c15 100644
--- a/var/spack/repos/builtin/packages/udunits/package.py
+++ b/var/spack/repos/builtin/packages/udunits/package.py
@@ -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)