projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0dfa22
)
[OCaml] Embed the flags necessary for linking with libLLVM.so into .cmxa files
author
Peter Zotov
<whitequark@whitequark.org>
Tue, 26 Nov 2013 20:40:34 +0000
(20:40 +0000)
committer
Peter Zotov
<whitequark@whitequark.org>
Tue, 26 Nov 2013 20:40:34 +0000
(20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195782
91177308
-0d34-0410-b5e6-
96231b3b80d8
bindings/ocaml/Makefile.ocaml
patch
|
blob
|
history
diff --git
a/bindings/ocaml/Makefile.ocaml
b/bindings/ocaml/Makefile.ocaml
index
98e5be9
..
f7ee43b
100644
(file)
--- 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)