See https://github.com/ocaml/dune/issues/3499 (Allow dependencies for executables).
The work-around I use is to copy the executable and then install the copy. The copying rule adds the dependency. e.g.
See https://github.com/ocaml/dune/issues/3499 (Allow dependencies for executables).
The work-around I use is to copy the executable and then install the copy. The copying rule adds the dependency. e.g.