Skip to content

Commit 1bd14eb

Browse files
committed
flambda-backend: Fix dumpobj installation properly
1 parent d7a83fc commit 1bd14eb

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile.common-jst

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ install_for_test: _install
273273
mkdir _runtest/tools
274274
ln -s ../_install/bin/ocamlmklib.byte _runtest/tools/ocamlmklib
275275
ln -s ../_install/bin/ocamlobjinfo.byte _runtest/tools/ocamlobjinfo
276-
ln -s ../../_build/main/ocaml/tools/dumpobj.bc _runtest/tools/dumpobj
276+
ln -s ../_install/bin/dumpobj.byte _runtest/tools/dumpobj
277277
# ocamldoc
278278
rm _runtest/ocamldoc
279279
mkdir _runtest/ocamldoc

tools/dune

+8
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@
6060
(modules dumpobj)
6161
(libraries ocamlcommon ocamlbytecomp opnames))
6262

63+
(install
64+
(files
65+
(dumpobj.bc as dumpobj.byte)
66+
(dumpobj.exe as dumpobj.opt)
67+
)
68+
(section bin)
69+
(package ocaml))
70+
6371
(executable
6472
(name cmpbyt)
6573
(modes byte)

0 commit comments

Comments
 (0)