Skip to content

Commit c73dd4c

Browse files
committed
flambda-backend: Fix for dumpobj build
1 parent 6162839 commit c73dd4c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile.common-jst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ runtime-stdlib: boot-compiler
7474
@touch _build/install/runtime_stdlib/lib/ocaml_runtime_stdlib/dynlink.cmxa
7575

7676
compiler: runtime-stdlib
77-
$(dune) build $(ws_main) --only-package=ocaml @install $(ocamldir)/ocamltest/ocamltest.byte
77+
$(dune) build $(ws_main) --only-package=ocaml @install \
78+
$(ocamldir)/ocamltest/ocamltest.byte \
79+
$(ocamldir)/tools/dumpobj.bc
7880

7981
runtest: compiler
8082
$(dune) runtest $(ws_main)
@@ -271,7 +273,7 @@ install_for_test: _install
271273
mkdir _runtest/tools
272274
ln -s ../_install/bin/ocamlmklib.byte _runtest/tools/ocamlmklib
273275
ln -s ../_install/bin/ocamlobjinfo.byte _runtest/tools/ocamlobjinfo
274-
ln -s ../_install/bin/dumpobj.byte _runtest/tools/dumpobj
276+
ln -s ../../_build/main/ocaml/tools/dumpobj.bc _runtest/tools/dumpobj
275277
# ocamldoc
276278
rm _runtest/ocamldoc
277279
mkdir _runtest/ocamldoc

0 commit comments

Comments
 (0)