diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2022-11-09 18:43:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 01:43:20 +0100 |
commit | 5142ebdd57179b6771515ed0edcbc7f229b85c9f (patch) | |
tree | cc710f42a4ca4d306e68ae4ee86b4c577439053f | |
parent | 6b782e6d7e374d14a6e19ec14b2bf8fd32b72b84 (diff) | |
download | spack-5142ebdd57179b6771515ed0edcbc7f229b85c9f.tar.gz spack-5142ebdd57179b6771515ed0edcbc7f229b85c9f.tar.bz2 spack-5142ebdd57179b6771515ed0edcbc7f229b85c9f.tar.xz spack-5142ebdd57179b6771515ed0edcbc7f229b85c9f.zip |
udunits: Add libs property to recipe to find libudunits2 (#33764)
-rw-r--r-- | var/spack/repos/builtin/packages/udunits/package.py | 4 |
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) |