Commits

camlspotter committed d86b71c

-I +dir added for camlp4boot.ml

  • Participants
  • Parent commits bc635e0
  • Branches p4_expand_directory

Comments (0)

Files changed (1)

File camlp4/boot/camlp4boot.ml

          !rcall_callback ())
       
     let initial_spec_list =
-      [ ("-I", (Arg.String (fun x -> input_file (IncludeDir x))),
+      [ ("-I", (Arg.String (fun x -> input_file (IncludeDir (Camlp4_import.Misc.expand_directory Camlp4_config.ocaml_standard_library x)))),
          "<directory>  Add directory in search patch for object files.");
         ("-where", (Arg.Unit print_stdlib),
          "Print camlp4 library directory and exit.");