Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005822OCamlOCamlbuild (the tool)public2012-11-14 10:412013-12-16 13:34
Reporterdaweil 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformWindowsOSOS Version
Product Version4.00.1 
Target Version4.01.1+devFixed in Version 
Summary0005822: wrong value of Options.ext_dll on windows
DescriptionOptions.ext_dll has value "s.obj" instead of "dll" on windows.

I propose the following path:
--- ocaml-4.00.1/ocamlbuild/options.ml Thu Apr 26 00:17:16 2012
+++ ocaml-4.00.1_patched/ocamlbuild/options.ml Wed Nov 14 09:12:18 2012
@@ -80,7 +80,11 @@
 let recursive = ref false
 let ext_lib = ref Ocamlbuild_Myocamlbuild_config.a
 let ext_obj = ref Ocamlbuild_Myocamlbuild_config.o
-let ext_dll = ref Ocamlbuild_Myocamlbuild_config.so
+(* let ext_dll = ref Ocamlbuild_Myocamlbuild_config.so *)
+let ext_dll =
+ let s = Ocamlbuild_Myocamlbuild_config.ext_dll in
+ ref (String.sub s 1 (String.length s - 1))
+
 let exe = ref Ocamlbuild_Myocamlbuild_config.exe

 let targets_internal = ref []
Tagspatch
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-11-14 10:41 daweil New Issue
2013-06-28 17:29 doligez Status new => acknowledged
2013-06-28 17:29 doligez Target Version => 4.01.0+dev
2013-08-19 15:42 doligez Target Version 4.01.0+dev => 4.01.1+dev
2013-12-16 13:34 doligez Tag Attached: patch


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker