about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-09-12 14:32:08 +0000
committerAlyssa Ross <hi@alyssa.is>2022-09-13 08:24:17 +0000
commit723a5645b5b958d7dc9ec515b567d467ea6536b1 (patch)
tree6f72fabccd29c0e43bfb05992edd8efa0e3b393c
parent71b3cef6dbe535f5ac25650c5c976bd6d8c25ea9 (diff)
pkgsStatic.llvm_14: fix build
-rw-r--r--pkgs/development/compilers/llvm/14/llvm/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/14/llvm/default.nix b/pkgs/development/compilers/llvm/14/llvm/default.nix
index 395f2b22b9642..47d6ee8ab1feb 100644
--- a/pkgs/development/compilers/llvm/14/llvm/default.nix
+++ b/pkgs/development/compilers/llvm/14/llvm/default.nix
@@ -148,6 +148,7 @@ in stdenv.mkDerivation (rec {
     # Disables building of shared libs, -fPIC is still injected by cc-wrapper
     "-DLLVM_ENABLE_PIC=OFF"
     "-DLLVM_BUILD_STATIC=ON"
+    "-DLLVM_LINK_LLVM_DYLIB=off"
     # libxml2 needs to be disabled because the LLVM build system ignores its .la
     # file and doesn't link zlib as well.
     # https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-845418812