oasis icon indicating copy to clipboard operation
oasis copied to clipboard

ocamlmktop needs -linkpkg

Open gildor478 opened this issue 4 years ago • 1 comments

This bug has been migrated from artifact #757 on forge.ocamlcore.org. It was assigned to user102.

user116 posted on 2010-09-22 15:11:48:

Consider the patch below, it doesn't solve all the problems (e.g. path to local stubs) but it definitely makes life easier :

--- myocamlbuild.ml 2010-09-22 18:06:54.000000000 +0300 +++ myocamlbuild.ml.ba1 2010-09-22 18:07:46.000000000 +0300 @@ -275,8 +275,9 @@

   | After_rules ->
       
  •      (* When one link an OCaml library/binary/package, one should use -linkpkg *)
    
  •      (* When link produces an OCaml program/toplevel, one should use -linkpkg *)
         flag ["ocaml"; "link"; "program"] & A"-linkpkg";
    
  •      flag ["ocaml"; "link"; "toplevel"] & A"-linkpkg";
    
         (* For each ocamlfind package one inject the -package option when
          * compiling, computing dependencies, generating documentation and
    

user102 replied on 2010-09-22 15:28:34:

I acknowledge this bug. Thanks for reporting.

Regards Sylvain Le Gall

user116 replied on 2011-01-19 11:04:58:

patch attached

user116 replied on 2011-01-26 10:34:04:

more missing rules : flag ["doc"; "ocaml"; "rectypes"] & A"-rectypes";

user116 replied on 2012-05-23 16:28:27:

not making into 0.3.0?

user102 replied on 2012-05-23 17:22:00:

No. It will go with the new toplevel section. But you'll see it coming faster than expected.... you see what i mean with oasis 0.3.1

gildor478 avatar Oct 24 '20 16:10 gildor478