Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ocamlbuild should pass -linkpkg together with -output-obj #6625
Original bug ID: 6625
E.g. using this rule:
Otherwise, if you use any -package's, ocamlc/ocamlopt will complain of not being able to find implementations.
Comment author: @gasche
Merged in 4.02 and trunk.
Do you know about ocamlbuild/testsuite? It is really convenient to write test against in my experience. For using it, my workflow is to "opam compiler-conf reinstall" and then run the tests from the toplevel. I hope you keep contributing features to ocamlbuild lately; you should consider writing small tests to validate that they work as expected.