summaryrefslogtreecommitdiffstats
path: root/llvm/examples/OCaml-Kaleidoscope/Chapter6
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2010-03-21 23:15:13 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2010-03-21 23:15:13 +0000
commit77eede5776a770aeecd700ffb7ecfbb404a8df63 (patch)
tree17b3ba32580e299d9dc466612ac81f51ccccebc1 /llvm/examples/OCaml-Kaleidoscope/Chapter6
parent568586ff227d06d6670da11e503506eab6ed3b23 (diff)
downloadbcm5719-llvm-77eede5776a770aeecd700ffb7ecfbb404a8df63.tar.gz
bcm5719-llvm-77eede5776a770aeecd700ffb7ecfbb404a8df63.zip
Fix the ocaml kaleidoscope tutorial to fix linking external libraries.
llvm-svn: 99151
Diffstat (limited to 'llvm/examples/OCaml-Kaleidoscope/Chapter6')
-rw-r--r--llvm/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml b/llvm/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml
index ff42664c43b..54d3fd97709 100644
--- a/llvm/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml
+++ b/llvm/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml
@@ -6,5 +6,5 @@ ocaml_lib ~extern:true "llvm_executionengine";;
ocaml_lib ~extern:true "llvm_target";;
ocaml_lib ~extern:true "llvm_scalar_opts";;
-flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
+flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;
OpenPOWER on IntegriCloud