Permalink
Browse files

Change -E into --export-dynamic for portability to mac.

  • Loading branch information...
1 parent e28cbe0 commit 54810a68441b3db248f8f1fb9008aacc4d52f6f5 @bvaugon committed Jun 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ocamlcc.ml
View
@@ -187,7 +187,7 @@ let run_cc args =
let command =
Printf.sprintf
"%s -D_FILE_OFFSET_BITS=64 %s -I %s -I %s/ocamlcc-byterun-%s%s \
- -lm -ldl -lcurses -Wl,-E %s"
+ -lm -ldl -lcurses -Wl,--export-dynamic %s"
!Options.ccomp args Config.include_dir Config.include_dir
!Options.runtime_version fnofp !Options.ccopts
in

0 comments on commit 54810a6

Please sign in to comment.