mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
ocamlPackages.llvm: fix CMake location for versions >= 13.0.0
This commit is contained in:
parent
3298100109
commit
3453f5713a
|
@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
|||
|
||||
strictDeps = true;
|
||||
|
||||
preConfigure = lib.optionalString (lib.versionAtLeast version "13.0.0") ''
|
||||
cd llvm
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=YES" # fixes bytecode builds
|
||||
"-DLLVM_OCAML_OUT_OF_TREE=TRUE"
|
||||
|
|
Loading…
Reference in a new issue