Mark ocamlfind as a hard-dependency
This commit is contained in:
parent
5cca590e34
commit
2a0156660b
|
@ -10,10 +10,13 @@ build: [
|
|||
["ocaml" "bootstrap.ml"]
|
||||
["./boot.exe" "-j" jobs]
|
||||
]
|
||||
depopts: [
|
||||
# This dependency is here just to prevent a race condition
|
||||
# as jbuilder calls `ocamlfind printconf path`
|
||||
# when ocamlfind is present in the PATH
|
||||
depends: [
|
||||
# ocamlfind is not mandatory to build packages using
|
||||
# jbuilder. However if it is present jbuilder will use it. Making
|
||||
# it a hard-dependency avoids problems when there is a previous
|
||||
# ocamlfind in the PATH. We make it a "build" depepdency even though
|
||||
# it is only a runtime dependency so that reinstalling ocamlfind
|
||||
# doesn't resintall jbuilder
|
||||
"ocamlfind" {build}
|
||||
]
|
||||
available: [ ocaml-version >= "4.02.3" ]
|
||||
|
|
Loading…
Reference in New Issue