forked from OSchip/llvm-project
[OCaml] Embed the flags necessary for linking with libLLVM.so into .cmxa files
llvm-svn: 195782
This commit is contained in:
parent
3aeb1d0857
commit
5d35f2ce03
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue