aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-11-27 19:42:48 +0000
committerBill Wendling <isanbard@gmail.com>2013-11-27 19:42:48 +0000
commit4684d18578907fa8b1434ef2784d9233a189806c (patch)
tree1c3a437ded379c1a664342e419fa4b162cb8e027
parent3a1e76d62706f2773c23a684446b4c549c151669 (diff)
downloadexternal_llvm-4684d18578907fa8b1434ef2784d9233a189806c.zip
external_llvm-4684d18578907fa8b1434ef2784d9233a189806c.tar.gz
external_llvm-4684d18578907fa8b1434ef2784d9233a189806c.tar.bz2
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
-rw-r--r--bindings/ocaml/Makefile.ocaml1
1 files changed, 1 insertions, 0 deletions
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)