3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

ML API: build fixes

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2014-12-04 13:51:17 +00:00
parent e11cc5a1f1
commit 7d577eeb71

View file

@ -1422,8 +1422,9 @@ class MLComponent(Component):
out.write('\tcd %s ; ocamlmklib -verbose -o z3' % (sub_dir))
for m in modules:
out.write(' ' + m)
out.write('z3native_stubs$(OBJ_EXT) ; cd -' )
out.write('ml: %s\n' % (os.path.join(sub_dir, 'z3.cmxa'))) # , os.path.join(sub_dir, 'z3.cmxs'), os.path.join(sub_dir, 'z3.cma')))
out.write(' z3native_stubs$(OBJ_EXT) ; cd -\n')
out.write('ml: %s\n' % (os.path.join(sub_dir, 'z3.cmxa')))
# , os.path.join(sub_dir, 'z3.cmxs'), os.path.join(sub_dir, 'z3.cma')))
#out.write('\n')
# Generate META file and package installation commands
self.mk_ml_meta(os.path.join('src/api/ml/META'), os.path.join(BUILD_DIR, sub_dir, 'META'), VER_MAJOR, VER_MINOR, VER_BUILD, VER_REVISION)