From f6f89677a7e4f50e49941c51463f6de829734e85 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Wed, 30 Mar 2022 23:14:31 -0500 Subject: giflib: add libs property (#29604) --- var/spack/repos/builtin/packages/giflib/package.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/var/spack/repos/builtin/packages/giflib/package.py b/var/spack/repos/builtin/packages/giflib/package.py index 795dc3a625..4338a2f8bf 100644 --- a/var/spack/repos/builtin/packages/giflib/package.py +++ b/var/spack/repos/builtin/packages/giflib/package.py @@ -44,6 +44,11 @@ class Giflib(MakefilePackage, SourceforgePackage): targets = ['install'] + self.prefix_and_libversion_args() return targets + @property + def libs(self): + return (find_libraries(['libgif'], root=self.prefix.lib) or + find_libraries(['libgif'], root=self.prefix.lib64)) + def check(self): make('check', parallel=False) -- cgit v1.2.3-70-g09d2