From c5feaaf745421f2ecda672585c462cf4c807d25d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 31 May 2021 12:37:59 +0200 Subject: Only pass target to recipe_text() if recipe is not shared --- libbuild2/adhoc-rule-cxx.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/adhoc-rule-cxx.cxx') diff --git a/libbuild2/adhoc-rule-cxx.cxx b/libbuild2/adhoc-rule-cxx.cxx index ed87cbd..e061a06 100644 --- a/libbuild2/adhoc-rule-cxx.cxx +++ b/libbuild2/adhoc-rule-cxx.cxx @@ -38,7 +38,7 @@ namespace build2 } bool adhoc_cxx_rule:: - recipe_text (context&, const target&, const adhoc_actions&, + recipe_text (context&, const scope&, const target*, const adhoc_actions&, string&& t, attributes&) { code = move (t); -- cgit v1.1