summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/llvm.scm3
1 files changed, 3 insertions, 0 deletions
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 @@ as \"x86_64-linux\"."
(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.