aboutsummaryrefslogtreecommitdiff
path: root/build2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-07 12:06:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-07 12:06:59 +0200
commita89f1e4f4efd291beedea03c65c8185b7d0df20e (patch)
treed06b2cb81720ae0c6cc877c2c67201838a10b63a /build2/context.hxx
parentc2da5df68610a0070575212bfee67c730ab39128 (diff)
Distinguish between "fixed" and "default" target extensions
This fixes wrong merging of, say, file{README} and file{README.MySQL} (in libmysqlclient).
Diffstat (limited to 'build2/context.hxx')
-rw-r--r--build2/context.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/context.hxx b/build2/context.hxx
index 434b41f..fed6bf1 100644
--- a/build2/context.hxx
+++ b/build2/context.hxx
@@ -275,6 +275,8 @@ namespace build2
extern const variable* var_clean; // [bool] target visibility
+ extern const char var_extension[10]; // "extension"
+
// Current action (meta/operation).
//
// The names unlike info are available during boot but may not yet be