mirror of
https://github.com/Z3Prover/z3
synced 2025-11-22 05:36:41 +00:00
remove ocamlfind destdir directory check
This check causes compilation error when using directly in dune. Somehow, $DESTDIR doesn't created automatically with ocamlfind in dune. Removing this check should make dune dependency works again.
This commit is contained in:
parent
11fb5c7dc4
commit
80bfbe66e9
1 changed files with 0 additions and 3 deletions
|
|
@ -2012,9 +2012,6 @@ class MLComponent(Component):
|
|||
if self.destdir == "":
|
||||
raise MKException('Failed to get OCaml destdir')
|
||||
|
||||
if not os.path.isdir(self.destdir):
|
||||
raise MKException('The destdir reported by {ocamlfind} ({destdir}) does not exist'.format(ocamlfind=OCAMLFIND, destdir=self.destdir))
|
||||
|
||||
self.ldconf = check_output([OCAMLFIND, 'printconf', 'ldconf'])
|
||||
if self.ldconf == "":
|
||||
raise MKException('Failed to get OCaml ldconf path')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue