From 29e82393abf3d8f578c6719af03b596858761a4f Mon Sep 17 00:00:00 2001 From: Peter Zotov Date: Mon, 3 Nov 2014 09:51:28 +0000 Subject: [PATCH] [OCaml] Don't build stub libraries twice. The default Makefile.rules BUILD_ARCHIVE machinery was unintentionally enabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221138 91177308-0d34-0410-b5e6-96231b3b80d8 --- bindings/ocaml/Makefile.ocaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 1bd14e9486f..1d2eff5ec7f 100644 --- a/bindings/ocaml/Makefile.ocaml +++ b/bindings/ocaml/Makefile.ocaml @@ -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)" -- 2.34.1