Fix the -dlllib option passed to ocamlc

Related to janestreet/base#5
This commit is contained in:
Jeremie Dimino 2016-12-09 08:36:28 +00:00
parent b80929774a
commit 0eacc5d546
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ module Gen(P : Params) = struct
| _ ->
let stubs_name = lib.name ^ "_stubs" in
match mode with
| Byte -> ["-dllib"; stubs_name; "-cclib"; stubs_name]
| Byte -> ["-dllib"; "dll" ^ stubs_name; "-cclib"; stubs_name]
| Native -> ["-cclib"; stubs_name]
in
BS.rule