From 7eb5fa7d01a5ee352b65b6f08ec893abcf016096 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Jun 2022 08:11:23 +0200 Subject: Save cc.type in pkg-config files --- libbuild2/cc/init.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'libbuild2/cc/init.cxx') diff --git a/libbuild2/cc/init.cxx b/libbuild2/cc/init.cxx index 75b32bb..062e750 100644 --- a/libbuild2/cc/init.cxx +++ b/libbuild2/cc/init.cxx @@ -139,13 +139,14 @@ namespace build2 // values are "binless" (library is binless) and "recursively-binless" // (library and all its prerequisite libraries are binless). Note that // another indication of a binless library is an empty path, which could - // easier/faster to check. Note also that there should be no whitespaces - // of any kind and is always first. + // be easier/faster to check. Note also that there should be no + // whitespaces of any kind and is always first. // // This value should be set on the library target as a rule-specific - // variable by the matching rule. Currently is used to decide - // which *.libs to use during static linking. The "cc" language is used - // in the import installed logic. + // variable by the matching rule. It is also saved in the generated + // pkg-config files. Currently is used to decide which *.libs to + // use during static linking. The "cc" language is used in the import + // installed logic. // // Note that this variable cannot be set via the target type/pattern- // specific mechanism (see process_libraries()). -- cgit v1.1