Fix `llvm-config` to adapt to the install environment.
[oota-llvm.git] / bindings / ocaml / Makefile.ocaml
index 1f65a7b8f905f6900f8301d90e5cf7cf6feb8bf3..22b96a298effff50cb01f309d51563119ab4503d 100644 (file)
@@ -277,6 +277,8 @@ uninstall-local:: uninstall-deplibs
 
 build-deplibs: $(OutputLibs)
 
+$(OcamlDir)/%.so: $(LibDir)/%.so
+       $(Verb) ln -sf $< $@
 $(OcamlDir)/%.a: $(LibDir)/%.a
        $(Verb) ln -sf $< $@