From 9dadc037cdf49b8e6d869d4226e2afeadaa0780a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 28 Aug 2016 15:03:29 +0200 Subject: Factor library search/processing out to cc::common --- build2/cc/pkgconfig.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'build2/cc/pkgconfig.cxx') diff --git a/build2/cc/pkgconfig.cxx b/build2/cc/pkgconfig.cxx index 1efe3a4..b22a84f 100644 --- a/build2/cc/pkgconfig.cxx +++ b/build2/cc/pkgconfig.cxx @@ -11,10 +11,11 @@ #include -#include #include #include +#include + using namespace std; using namespace butl; @@ -35,7 +36,7 @@ namespace build2 // Note that scope and link order should be "top-level" from the // search_library() POV. // - bool link:: + bool common:: pkgconfig_extract (scope& s, lib& lt, liba* at, @@ -45,7 +46,7 @@ namespace build2 const dir_path& libd, const dir_paths& sysd) const { - tracer trace (x, "link::pkgconfig_extract"); + tracer trace (x, "pkgconfig_extract"); assert (pkgconfig != nullptr); assert (at != nullptr || st != nullptr); @@ -367,7 +368,7 @@ namespace build2 } // @@ OUT: for now we assume out is undetermined, just like in - // link::resolve_library(). + // resolve_library(). // dir_path out; string name (l, 2); // Sans -l. -- cgit v1.1