Compile ocamldoc.opt with -linkall #5614
Original bug ID: 5614
Right now, ocamldoc.opt won't load native plugins that use standard library modules that it itself doesn't use. On OS X (10.7.4, 64-bit), at least, I get messages like
% ocamldoc.opt -i ../_build -g argot.cmxs
Relinking ocamldoc.opt with -linkall (adding that flag to ocamldoc/Makefile to the $(OCAMLDOC_OPT) target) allows the above command to work without error.
I've checked, and I believe that ocamldoc.opt is the only tool in the OCaml source tree that uses Dynlink and isn't linked with -linkall.
Patch attached to add -linkall.
The text was updated successfully, but these errors were encountered: