From 0eacc5d54696eade55624da8817861a1a76c0b4c Mon Sep 17 00:00:00 2001 From: Jeremie Dimino Date: Fri, 9 Dec 2016 08:36:28 +0000 Subject: [PATCH] Fix the -dlllib option passed to ocamlc Related to janestreet/base#5 --- src/gen_rules.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen_rules.ml b/src/gen_rules.ml index ec1cdd28..80cf1aab 100644 --- a/src/gen_rules.ml +++ b/src/gen_rules.ml @@ -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