Skip to content

Commit 091bff3

Browse files
committed
Merge pull request #10225 from EduardoRFS/fix-dune-build
2 parents d3643c6 + 3c29f13 commit 091bff3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dune

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
bytegen bytelibrarian bytelink bytepackager emitcode printinstr
9494

9595
;; driver/
96-
errors compile
96+
errors compile maindriver
9797
))
9898

9999
(library
@@ -165,7 +165,7 @@
165165
compute_ranges
166166

167167
;; driver/
168-
optcompile opterrors
168+
optcompile opterrors optmaindriver
169169
)
170170
)
171171

ocamltest/dune

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
../Makefile.common
3030
../Makefile.best_binaries
3131
Makefile
32-
./ocamltest_config.ml.in
33-
./getocamloptdefaultflags)
32+
./ocamltest_config.ml.in)
3433
(action (run make %{targets} COMPUTE_DEPS=false)))
3534

3635
;; FIXME: handle UNIX_OR_WIN32 or something similar

runtime/dune

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
(wrapped false)
6161
(modules runtime)
6262
(flags (-nostdlib -nopervasives))
63+
(library_flags -cclib "-I runtime")
6364
(self_build_stubs_archive (runtime)))
6465

6566
(rule

0 commit comments

Comments
 (0)