mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
Build fix
This commit is contained in:
parent
d9cd01f3f7
commit
a0f9f461f8
|
@ -1783,13 +1783,13 @@ class MLComponent(Component):
|
|||
self.mk_ml_meta(os.path.join('src/api/ml/META'), os.path.join(BUILD_DIR, self.sub_dir, 'META'), VER_MAJOR, VER_MINOR, VER_BUILD, VER_REVISION)
|
||||
|
||||
def mk_install_deps(self, out):
|
||||
if OCAMLFIND != '':
|
||||
if is_ml_enabled() and OCAMLFIND != '':
|
||||
out.write(get_component(Z3_DLL_COMPONENT).dll_name + '$(SO_EXT) ')
|
||||
out.write(os.path.join(self.sub_dir, 'z3ml.cmxa '))
|
||||
out.write(os.path.join(self.sub_dir, 'META '))
|
||||
|
||||
def mk_install(self, out):
|
||||
if OCAMLFIND != '':
|
||||
if is_ml_enabled() and OCAMLFIND != '':
|
||||
out.write('\t@%s remove Z3\n' % (OCAMLFIND))
|
||||
out.write('\t@%s install Z3 %s' % (OCAMLFIND, (os.path.join(self.sub_dir, 'META'))))
|
||||
for m in self.modules:
|
||||
|
@ -1815,7 +1815,7 @@ class MLComponent(Component):
|
|||
out.write('\n')
|
||||
|
||||
def mk_uninstall(self, out):
|
||||
if OCAMLFIND != '':
|
||||
if is_ml_enabled() and OCAMLFIND != '':
|
||||
out.write('\t@%s remove Z3\n' % (OCAMLFIND))
|
||||
|
||||
def main_component(self):
|
||||
|
|
Loading…
Reference in a new issue