aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/pkgconfig.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/pkgconfig.cxx')
-rw-r--r--build2/cc/pkgconfig.cxx9
1 files changed, 5 insertions, 4 deletions
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 <build2/bin/target>
-#include <build2/cc/link>
#include <build2/cc/types>
#include <build2/cc/utility>
+#include <build2/cc/common>
+
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.