aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/target.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/bin/target.hxx')
-rw-r--r--libbuild2/bin/target.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/libbuild2/bin/target.hxx b/libbuild2/bin/target.hxx
index 8be8c23..f8d2dd0 100644
--- a/libbuild2/bin/target.hxx
+++ b/libbuild2/bin/target.hxx
@@ -200,10 +200,14 @@ namespace build2
// Common base for lib{} and libul{} groups.
//
- class LIBBUILD2_BIN_SYMEXPORT libx: public target
+ // Use mtime_target as a base for the "trust me it exists" functionality
+ // which we use, for example, to have installed lib{} prerequisites that
+ // are matched by the fallback file rule.
+ //
+ class LIBBUILD2_BIN_SYMEXPORT libx: public mtime_target
{
public:
- using target::target;
+ using mtime_target::mtime_target;
public:
static const target_type static_type;