diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/pgplot/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/pgplot/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pgplot/package.py b/var/spack/repos/builtin/packages/pgplot/package.py index 1cad3f68c3..89a0513773 100644 --- a/var/spack/repos/builtin/packages/pgplot/package.py +++ b/var/spack/repos/builtin/packages/pgplot/package.py @@ -82,3 +82,10 @@ class Pgplot(MakefilePackage): install('libcpgplot.a', prefix.lib) install('libpgplot.a', prefix.lib) install('libpgplot.so', prefix.lib) + + @property + def libs(self): + shared = "+shared" in self.spec + return find_libraries( + "lib*pgplot", root=self.prefix, shared=shared, recursive=True + ) |