Fix another parallel make race condition.
authorBob Wilson <bob.wilson@apple.com>
Fri, 18 Dec 2009 20:12:14 +0000 (20:12 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 18 Dec 2009 20:12:14 +0000 (20:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91709 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/ocaml/Makefile.ocaml

index c46f602..4e5de80 100644 (file)
@@ -163,6 +163,7 @@ clean-deplibs:
        $(Verb) rm -f $(OutputLibs)
 
 install-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
        $(Verb) for i in $(DestLibs:$(PROJ_libocamldir)/%=%); do \
          ln -sf "$(PROJ_libdir)/$$i" "$(PROJ_libocamldir)/$$i"; \
        done