[OCaml] Don't build stub libraries twice.
authorPeter Zotov <whitequark@whitequark.org>
Mon, 3 Nov 2014 09:51:28 +0000 (09:51 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Mon, 3 Nov 2014 09:51:28 +0000 (09:51 +0000)
The default Makefile.rules BUILD_ARCHIVE machinery was
unintentionally enabled.

llvm-svn: 221138

llvm/bindings/ocaml/Makefile.ocaml

index 1bd14e9..1d2eff5 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)"