Permalink
Browse files

[build] fix bytecode unix build under Darwin

  • Loading branch information...
1 parent 369437a commit a7df66ac2a36ac383c193a3a0f8f0c8e2a76ca96 @avsm committed Jun 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/myocamlbuild.ml
View
2 scripts/myocamlbuild.ml
@@ -97,7 +97,7 @@ module Mir = struct
in
let dl_libs = match host with
|Linux -> [A"-lm"; asmlib; A"-lbigarray"; A"-lcamlstr"; A"-ldl"; A"-ltermcap"]
- |Darwin |FreeBSD -> [A"-lm"; asmlib; A"-lbigarray"; A"-lcamlstr"] in
+ |Darwin |FreeBSD -> [A"-lm"; asmlib; A"-lbigarray"; A"-lcamlstr"; A"-ltermcap"] in
let tags = tags++"cc"++"c" in
let prof = if profiling then [A"-pg"] else [] in
Cmd (S (A cc :: [ T(tags++"link"); A ocamlc_libdir; A"-o"; Px out;

0 comments on commit a7df66a

Please sign in to comment.