summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/adol-c/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/adol-c/package.py b/var/spack/repos/builtin/packages/adol-c/package.py
index a7eff71ad5..05528c665e 100644
--- a/var/spack/repos/builtin/packages/adol-c/package.py
+++ b/var/spack/repos/builtin/packages/adol-c/package.py
@@ -153,3 +153,8 @@ class AdolC(AutotoolsPackage):
join_path(source_directory, "ADOL-C", "examples", "additional_examples")
):
Executable("./checkpointing/checkpointing")()
+
+ @property
+ def libs(self):
+ """The name of the library differs from the package name => own libs handling."""
+ return find_libraries(["libadolc"], root=self.prefix, shared=True, recursive=True)