From 46f89920ce4b22f167841cb1d5d84832d9b6c380 Mon Sep 17 00:00:00 2001 From: Peter Zotov Date: Tue, 26 Nov 2013 20:40:34 +0000 Subject: [OCaml] Embed the flags necessary for linking with libLLVM.so into .cmxa files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195782 91177308-0d34-0410-b5e6-96231b3b80d8 --- bindings/ocaml/Makefile.ocaml | 1 + 1 file changed, 1 insertion(+) (limited to 'bindings') diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 98e5be9cbb..f7ee43b8f2 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.2.3