diff options
author | Tiziano Müller <tiziano.mueller@chem.uzh.ch> | 2021-04-13 11:01:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 11:01:15 +0200 |
commit | 1f1b568e95a402c1b28a4d1188feecbb36e14197 (patch) | |
tree | 3179c5bffb1eef7fe5671557cd7907a907194863 | |
parent | bff713aeb200a38b1c29799ca78006028b33b4e6 (diff) | |
download | spack-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.py | 4 |
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) |