diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-12-03 11:00:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-12-03 11:00:24 +0200 |
commit | e85e618a1b918f7279133eb1f446c1af871f5dd2 (patch) | |
tree | 7919bde56f6e549c0f96ce85801bba467187aa8e /libbuild2/bin | |
parent | 548bdfb7bdd7c4761b58bed18b0032afc05b3ce4 (diff) |
Fix modules support for installed libraries
Diffstat (limited to 'libbuild2/bin')
-rw-r--r-- | libbuild2/bin/target.cxx | 2 | ||||
-rw-r--r-- | libbuild2/bin/target.hxx | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/libbuild2/bin/target.cxx b/libbuild2/bin/target.cxx index bf701c9..94851cd 100644 --- a/libbuild2/bin/target.cxx +++ b/libbuild2/bin/target.cxx @@ -53,7 +53,7 @@ namespace build2 const target_type libx::static_type { "libx", - &mtime_target::static_type, + &target::static_type, nullptr, nullptr, nullptr, diff --git a/libbuild2/bin/target.hxx b/libbuild2/bin/target.hxx index 5e7f445..8be8c23 100644 --- a/libbuild2/bin/target.hxx +++ b/libbuild2/bin/target.hxx @@ -200,14 +200,10 @@ namespace build2 // Common base for lib{} and libul{} groups. // - // 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 LIBBUILD2_BIN_SYMEXPORT libx: public mtime_target + class LIBBUILD2_BIN_SYMEXPORT libx: public target { public: - using mtime_target::mtime_target; + using target::target; public: static const target_type static_type; |