summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <tiziano.mueller@chem.uzh.ch>2021-04-13 11:01:15 +0200
committerGitHub <noreply@github.com>2021-04-13 11:01:15 +0200
commit1f1b568e95a402c1b28a4d1188feecbb36e14197 (patch)
tree3179c5bffb1eef7fe5671557cd7907a907194863
parentbff713aeb200a38b1c29799ca78006028b33b4e6 (diff)
downloadspack-1f1b568e95a402c1b28a4d1188feecbb36e14197.tar.gz
spack-1f1b568e95a402c1b28a4d1188feecbb36e14197.tar.bz2
spack-1f1b568e95a402c1b28a4d1188feecbb36e14197.tar.xz
spack-1f1b568e95a402c1b28a4d1188feecbb36e14197.zip
spglib: fix libs property for some multilib distros (#22956)
on multilib distros with lib/lib64 (rather than lib32/lib) the library ends up in a dir lib64/ instead of lib/, breaking the libs property (and the cp2k+spglib build)
-rw-r--r--var/spack/repos/builtin/packages/spglib/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/spglib/package.py b/var/spack/repos/builtin/packages/spglib/package.py
index 585def1724..11ef48ba5b 100644
--- a/var/spack/repos/builtin/packages/spglib/package.py
+++ b/var/spack/repos/builtin/packages/spglib/package.py
@@ -39,5 +39,5 @@ class Spglib(CMakePackage):
@property
def libs(self):
- return find_libraries(['libsymspg'], root=self.prefix.lib,
- recursive=False)
+ return find_libraries('libsymspg', root=self.prefix,
+ shared=True, recursive=True)