OCaml bindings built statically with CMake are good for nothing, as
shown by the test failures. Make two changes to make tests pass:
- Fix AddOCaml CMake rule to link in the case of static lib.
- Add the LIBDIR variable required by lit.cfg.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
I don't like how you add a non-namespaced variable, especially since another one with the identical value exists.