[OCaml] Embed the flags necessary for linking with libLLVM.so into .cmxa files

llvm-svn: 195782
This commit is contained in:
Peter Zotov 2013-11-26 20:40:34 +00:00
parent 3aeb1d0857
commit 5d35f2ce03
1 changed files with 1 additions and 0 deletions

View File

@ -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)