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)"