diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-31 12:37:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-31 13:00:43 +0200 |
commit | ad7b8477f177355e50b411b7296ae2e392d7a4be (patch) | |
tree | 61339754654e5bb11db585c2954e237d607afac5 /libbuild2/adhoc-rule-cxx.cxx | |
parent | 73a64baac30f5c478201e9f86dc4dd5ef85f0192 (diff) |
Only pass target to recipe_text() if recipe is not shared
Diffstat (limited to 'libbuild2/adhoc-rule-cxx.cxx')
-rw-r--r-- | libbuild2/adhoc-rule-cxx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |