aboutsummaryrefslogtreecommitdiff
path: root/build2/bin
diff options
context:
space:
mode:
Diffstat (limited to 'build2/bin')
-rw-r--r--build2/bin/target.cxx2
-rw-r--r--build2/bin/target.hxx8
2 files changed, 7 insertions, 3 deletions
diff --git a/build2/bin/target.cxx b/build2/bin/target.cxx
index aa37202..d9dc64b 100644
--- a/build2/bin/target.cxx
+++ b/build2/bin/target.cxx
@@ -13,7 +13,7 @@ namespace build2
const target_type libx::static_type
{
"libx",
- &target::static_type,
+ &mtime_target::static_type,
nullptr,
nullptr,
nullptr,
diff --git a/build2/bin/target.hxx b/build2/bin/target.hxx
index e0c0358..790d1f0 100644
--- a/build2/bin/target.hxx
+++ b/build2/bin/target.hxx
@@ -119,10 +119,14 @@ namespace build2
// Common base for lib{} and libu{} groups.
//
- class libx: public target
+ // We 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 libx: public mtime_target
{
public:
- using target::target;
+ using mtime_target::mtime_target;
public:
static const target_type static_type;