diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-03-20 12:56:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-03-20 12:56:12 +0200 |
commit | a18661636cd169b0912cc58c623fdd69e3250229 (patch) | |
tree | 785943e5fba6808c69c58cbeadaf66d6257c36ca /libbuild2/bin/target.cxx | |
parent | 3b361af7681125e7db98a9e4e69c80d469cae256 (diff) |
Generate common .pc file in addition to static/staged when installing lib{}
The common .pc file is produced by ignoring any static/shared-specific
poptions and splitting loptions/libs into Libs/Libs.private.
It is "best effort", in a sense that it's not guaranteed to be sufficient in
all cases, but it will probably cover the majority of cases, even on Windows,
thanks to automatic dllimport'ing of functions.
Diffstat (limited to 'libbuild2/bin/target.cxx')
-rw-r--r-- | libbuild2/bin/target.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/bin/target.cxx b/libbuild2/bin/target.cxx index a8f3bf0..bf701c9 100644 --- a/libbuild2/bin/target.cxx +++ b/libbuild2/bin/target.cxx @@ -83,7 +83,7 @@ namespace build2 // running serial. For the members it is also safe to set the group during // creation. - // obj*{} and [h]bmi*{} member factory. + // obj*{}, lib*{}, and [h]bmi*{} member factory. // template <typename M, typename G> static target* |