summaryrefslogtreecommitdiff
path: root/bindings/ocaml
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2014-11-03 09:51:28 +0000
committerPeter Zotov <whitequark@whitequark.org>2014-11-03 09:51:28 +0000
commit29e82393abf3d8f578c6719af03b596858761a4f (patch)
treeeda8cf2861c379dc13cea1f7590a5623f7a8b7d4 /bindings/ocaml
parent95a8dca3dbab8f099dceac31145e81c5839cace1 (diff)
[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
Diffstat (limited to 'bindings/ocaml')
-rw-r--r--bindings/ocaml/Makefile.ocaml3
1 files changed, 3 insertions, 0 deletions
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)"