diff options
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index ae5638517f..8d6cba7fee 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -251,7 +251,7 @@ class Python(Package): depends_on("libnsl", when="+nis") depends_on("zlib@1.1.3:", when="+zlib") depends_on("bzip2", when="+bz2") - depends_on("xz", when="+lzma") + depends_on("xz libs=shared", when="+lzma") depends_on("expat", when="+pyexpat") depends_on("libffi", when="+ctypes") # https://docs.python.org/3/whatsnew/3.11.html#build-changes |