[OCaml] Don't build stub libraries twice.
[oota-llvm.git] / bindings / ocaml / Makefile.ocaml
index 1bd14e9486fa8a7186140b126c8bb5df6f3cae70..1d2eff5ec7f906e4347a6a15b3b9fa76fd0beaa3 100644 (file)
@@ -19,6 +19,9 @@
 
 include $(LEVEL)/Makefile.config
 
+# We have our own rules for building static libraries.
+NO_BUILD_ARCHIVE = 1
+
 # CFLAGS needs to be set before Makefile.rules is included.
 CXX.Flags += -I"$(shell $(OCAMLFIND) c -where)"
 C.Flags += -I"$(shell $(OCAMLFIND) c -where)"