diff options
author | Peter Zotov <whitequark@whitequark.org> | 2013-11-26 20:40:34 +0000 |
---|---|---|
committer | Peter Zotov <whitequark@whitequark.org> | 2013-11-26 20:40:34 +0000 |
commit | 46f89920ce4b22f167841cb1d5d84832d9b6c380 (patch) | |
tree | fb52d38e0a0f8f202450b3b88424ce73103dc55f /bindings | |
parent | c0dfa22e199304e314cbde3192870b58fbf9830c (diff) | |
download | llvm-46f89920ce4b22f167841cb1d5d84832d9b6c380.tar.gz llvm-46f89920ce4b22f167841cb1d5d84832d9b6c380.tar.bz2 llvm-46f89920ce4b22f167841cb1d5d84832d9b6c380.tar.xz |
[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
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/ocaml/Makefile.ocaml | 1 |
1 files changed, 1 insertions, 0 deletions
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) |