From 4684d18578907fa8b1434ef2784d9233a189806c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 27 Nov 2013 19:42:48 +0000 Subject: Merging r195782: ------------------------------------------------------------------------ r195782 | whitequark | 2013-11-26 12:40:34 -0800 (Tue, 26 Nov 2013) | 1 line [OCaml] Embed the flags necessary for linking with libLLVM.so into .cmxa files ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195871 91177308-0d34-0410-b5e6-96231b3b80d8 --- bindings/ocaml/Makefile.ocaml | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 98e5be9..f7ee43b 100644 --- a/bindings/ocaml/Makefile.ocaml +++ b/bindings/ocaml/Makefile.ocaml @@ -89,6 +89,7 @@ endif ifdef OCAMLSTUBS Archive.CMXA := $(strip $(OCAMLOPT) -a $(patsubst %,-cclib %, \ $(LLVMLibsOptions) -l$(LIBRARYNAME)) \ + -cclib -L$(SharedLibDir) \ $(OCAMLDEBUGFLAG) -o) else Archive.CMXA := $(strip $(OCAMLOPT) -a $(OCAMLAFLAGS) $(OCAMLDEBUGFLAG) -o) -- cgit v1.1