Commits

camlspotter committed bc635e0

Misc.expand_directory for -I +dir for camlp4

  • Participants
  • Parent commits 5ec3846
  • Branches p4_expand_directory

Comments (0)

Files changed (1)

camlp4/Camlp4Bin.ml

   };
 
 value 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.");