From a27acc4f5ff594fa3e8dc0482e3918cf6c2f6e9d Mon Sep 17 00:00:00 2001 From: Lucas Pluvinage Date: Wed, 4 Nov 2020 11:03:05 +0100 Subject: [PATCH] Backport PR#100: Make executable dependencies implicit Signed-off-by: Lucas Pluvinage --- compiler-stdlib/src/dune | 4 ++-- shadow-stdlib/src/dune | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler-stdlib/src/dune b/compiler-stdlib/src/dune index 317f8e4d..f0125b19 100644 --- a/compiler-stdlib/src/dune +++ b/compiler-stdlib/src/dune @@ -1,4 +1,4 @@ (library (name caml) (public_name base.caml) (preprocess no_preprocessing)) -(rule (targets caml.ml) (deps (:first_dep ../gen/gen.exe)) - (action (run %{first_dep} -ocaml-where %{ocaml_where} -o %{targets}))) \ No newline at end of file +(rule (targets caml.ml) + (action (run ../gen/gen.exe -ocaml-where %{ocaml_where} -o %{targets}))) diff --git a/shadow-stdlib/src/dune b/shadow-stdlib/src/dune index 8d3d4701..5a8571dd 100644 --- a/shadow-stdlib/src/dune +++ b/shadow-stdlib/src/dune @@ -2,7 +2,7 @@ (libraries caml) (preprocess no_preprocessing)) (rule (targets shadow_stdlib.mli) - (deps (:first_dep ../gen/gen.exe) ../../compiler-stdlib/src/caml.cma) + (deps ../../compiler-stdlib/src/caml.cma) (action - (run %{first_dep} -caml-cmi ../../compiler-stdlib/src/.caml.objs/caml.cmi - ../../compiler-stdlib/src/.caml.objs/byte/caml.cmi -o %{targets}))) \ No newline at end of file + (run ../gen/gen.exe -caml-cmi ../../compiler-stdlib/src/.caml.objs/caml.cmi + ../../compiler-stdlib/src/.caml.objs/byte/caml.cmi -o %{targets})))