From 4cfad9bb187734b7dcecc3253330b549f12081df Mon Sep 17 00:00:00 2001 From: rina Date: Sat, 14 Oct 2023 11:54:10 +1000 Subject: [PATCH] ocaml-llvm: disable static object generation. --- llvm-translator/ocaml-llvm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm-translator/ocaml-llvm.nix b/llvm-translator/ocaml-llvm.nix index da9b95c..dd59f9f 100644 --- a/llvm-translator/ocaml-llvm.nix +++ b/llvm-translator/ocaml-llvm.nix @@ -41,7 +41,8 @@ ocamlPackages.buildDunePackage rec { runHook preConfigure substituteInPlace setup.sh \ - --replace "cp " "cp --no-preserve=mode,ownership " + --replace "cp " "cp --no-preserve=mode,ownership " \ + --replace support_static_mode=true support_static_mode=false ./setup.sh ${libllvm.dev}/bin/llvm-config