diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-04 07:30:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-04 07:30:12 +0200 |
commit | 091de5764d73f9c084827afa154a691d7d9ac75a (patch) | |
tree | c45ac5b9113f9a9b19ae315592f9af445edc31c4 /build2/bin | |
parent | 760658054c5d7545f4e25fa339c4633d88800f94 (diff) |
Add extracted from pkg-config prerequisite libraries as prerequisites
Diffstat (limited to 'build2/bin')
-rw-r--r-- | build2/bin/target.cxx | 2 | ||||
-rw-r--r-- | build2/bin/target.hxx | 8 |
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; |