Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
OCamlbuild ignores relative-symlinked subdirectories or subdirectories with a trailing slash. #5395
Original bug ID: 5395
The given archive is as follows:
Try the following commands :
(* Works as expected *)
(* Both commands unexpectedly produce an error. *)
(* And using the symbolic link just don't work. *)
Comment author: kdkeyser
I've also run into this issue (using 4.01.0), took me quite a while to find a workaround.
I've got a project which uses a code generation tool that produces its output in a "target" directory. The idea was to symlink this directory to a src/ocaml/generated directory and make an mlpack, but compilation using ocamlbuild then fails due to this bug.
My current workaround is to symlink the individual files instead of the directory.