Skip to content

Commit

Permalink
Fix the command of install_name_tool -id. (#5622)
Browse files Browse the repository at this point in the history
* Fix the command of `install_name_tool -id`.

* Fix: don't call `ml_example.byte`.
  • Loading branch information
arbipher authored Oct 27, 2021
1 parent eb8c8da commit 723b755
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ jobs:
make -j3
make -j3 examples
make -j3 test-z3
./ml_example.byte
./ml_example
cd ..
- script: eval `opam config env`; ocamlfind install z3 build/api/ml/* -dll build/libz3.*
- script: |
Expand Down Expand Up @@ -94,8 +92,6 @@ jobs:
make -j3
make -j3 examples
make -j3 test-z3
./ml_example.byte
./ml_example
cd ..
- script: eval `opam config env`; ocamlfind install z3-static build/api/ml/* build/libz3-static.a
- script: |
Expand Down Expand Up @@ -316,8 +312,6 @@ jobs:
make -j3
make -j3 examples
make -j3 test-z3
./ml_example.byte
./ml_example
cd ..
- script: eval `opam config env`; ocamlfind install z3 build/api/ml/* -dll build/libz3.*
- script: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/mk_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,7 @@ def mk_makefile(self, out):
out.write('\n')
out.write('ml: %s.cma %s.cmxa %s.cmxs\n' % (z3mls, z3mls, z3mls))
if IS_OSX:
out.write('\tinstall_name_tool -id libz3.dylib %s/libz3.dylib libz3.dylib\n' % (stubs_install_path))
out.write('\tinstall_name_tool -id %s/libz3.dylib libz3.dylib\n' % (stubs_install_path))
out.write('\tinstall_name_tool -change libz3.dylib %s/libz3.dylib api/ml/dllz3ml.so\n' % (stubs_install_path))
out.write('\n')

Expand Down

0 comments on commit 723b755

Please sign in to comment.