[llvm] r195782 - [OCaml] Embed the flags necessary for linking with libLLVM.so into .cmxa files
Peter Zotov
whitequark at whitequark.org
Tue Nov 26 12:40:34 PST 2013
Author: whitequark
Date: Tue Nov 26 14:40:34 2013
New Revision: 195782
URL: http://llvm.org/viewvc/llvm-project?rev=195782&view=rev
Log:
[OCaml] Embed the flags necessary for linking with libLLVM.so into .cmxa files
Modified:
llvm/trunk/bindings/ocaml/Makefile.ocaml
Modified: llvm/trunk/bindings/ocaml/Makefile.ocaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/Makefile.ocaml?rev=195782&r1=195781&r2=195782&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/Makefile.ocaml (original)
+++ llvm/trunk/bindings/ocaml/Makefile.ocaml Tue Nov 26 14:40:34 2013
@@ -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)
More information about the llvm-commits
mailing list