Fix another parallel make race condition.
[oota-llvm.git] / bindings / ocaml / Makefile.ocaml
index c46f6027cf634696c165ffe895a6fd3db6985d44..4e5de8026409d83bdc352b41a52003d016676f7a 100644 (file)
@@ -163,6 +163,7 @@ clean-deplibs:
        $(Verb) rm -f $(OutputLibs)
 
 install-deplibs:
+       $(Verb) $(MKDIR) $(PROJ_libocamldir)
        $(Verb) for i in $(DestLibs:$(PROJ_libocamldir)/%=%); do \
          ln -sf "$(PROJ_libdir)/$$i" "$(PROJ_libocamldir)/$$i"; \
        done