From 8bda62e798c4e89c8c3f9406327899e394f7be0f Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Tue, 16 Dec 2014 00:06:13 +0100 Subject: Fix for #3154: use CUnix.sys_command to call native compiler. Patch by CJ on bugzilla. CUnix.sys_command doesn't rely on a shell, so extra care with cmd.exe vs sh is no longer required. --- kernel/nativelib.mli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/nativelib.mli') diff --git a/kernel/nativelib.mli b/kernel/nativelib.mli index a2633ac2c..1c60221f0 100644 --- a/kernel/nativelib.mli +++ b/kernel/nativelib.mli @@ -16,9 +16,9 @@ val load_obj : (string -> unit) ref val get_ml_filename : unit -> string * string -val compile : string -> global list -> int * string +val compile : string -> global list -> bool * string -val compile_library : Names.dir_path -> global list -> string -> int +val compile_library : Names.dir_path -> global list -> string -> bool val call_linker : ?fatal:bool -> string -> string -> code_location_updates option -> unit -- cgit v1.2.3