From 5142ebdd57179b6771515ed0edcbc7f229b85c9f Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Wed, 9 Nov 2022 18:43:20 -0600 Subject: udunits: Add libs property to recipe to find libudunits2 (#33764) --- var/spack/repos/builtin/packages/udunits/package.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'var') 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) -- cgit v1.2.3-70-g09d2