diff options
author | Nicolas Pouillard <np@nicolaspouillard.fr> | 2007-11-28 16:08:18 +0000 |
---|---|---|
committer | Nicolas Pouillard <np@nicolaspouillard.fr> | 2007-11-28 16:08:18 +0000 |
commit | 3a4356befd69933ea749e6f832dec91bbffc7ce8 (patch) | |
tree | 403c40b4dc8402c3400ea25e9e1e821720e06e87 /ocamlbuild/ocaml_compiler.ml | |
parent | 114db8aaeadd15a427ef0387e2397827e206709b (diff) |
[ocamlbuild] Move some functions from Pathname to Resource and use Digest_cache.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamlbuild/ocaml_compiler.ml')
-rw-r--r-- | ocamlbuild/ocaml_compiler.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ocamlbuild/ocaml_compiler.ml b/ocamlbuild/ocaml_compiler.ml index 57632b718..c0d8d2611 100644 --- a/ocamlbuild/ocaml_compiler.ml +++ b/ocamlbuild/ocaml_compiler.ml @@ -246,7 +246,7 @@ let link_units table extensions cmX_ext cma_ext a_ext linker tagger contents_lis let _ = Rule.build_deps_of_tags build tags in let dir = let dir1 = Pathname.remove_extensions cmX in - if Pathname.exists_in_source_dir dir1 then dir1 + if Resource.exists_in_source_dir dir1 then dir1 else Pathname.dirname cmX in let include_dirs = Pathname.include_dirs_of dir in let extension_keys = List.map fst extensions in |