Skip to content

Commit 141cdb6

Browse files
authored
adol-c: fix libs property (spack#36614)
1 parent f2ab74e commit 141cdb6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

var/spack/repos/builtin/packages/adol-c/package.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,8 @@ def install_additional_files(self):
153153
join_path(source_directory, "ADOL-C", "examples", "additional_examples")
154154
):
155155
Executable("./checkpointing/checkpointing")()
156+
157+
@property
158+
def libs(self):
159+
"""The name of the library differs from the package name => own libs handling."""
160+
return find_libraries(["libadolc"], root=self.prefix, shared=True, recursive=True)

0 commit comments

Comments
 (0)