(address . guix-patches@gnu.org)(name . Nicolas Graves)(address . ngraves@ngraves.fr)
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[inputs]: Add
libxcrypt for versions 10 and 11.
---
gnu/packages/llvm.scm | 3 +++
1 file changed, 3 insertions(+)
Toggle diff (16 lines)
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index c6566a3339..e2b8b689ba 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -170,6 +170,9 @@ (define* (clang-runtime-from-llvm llvm
(list llvm)
(if (version>=? version "15")
(list libffi)
+ '())
+ (if (member (version-major version) (list "10" "11"))
+ (list libxcrypt)
'())))
(arguments
`(;; Don't use '-g' during the build to save space.
--
2.46.0