From b9d38eadae2fd9d933abb20893d2a3f822b0210e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 4 Feb 2020 09:01:36 +0200 Subject: Add note to manual on specifying search paths in compiler mode --- libbuild2/cc/pkgconfig.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libbuild2/cc/pkgconfig.cxx') diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 3e25167..5d5a43c 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -74,7 +74,9 @@ namespace build2 #ifndef BUILD2_BOOTSTRAP // Load package information from a .pc file. Filter out the -I/-L options - // that refer to system directories. + // that refer to system directories. This makes sure all the system search + // directories are "pushed" to the back which minimizes the chances of + // picking up wrong (e.g., old installed version) header/library. // // Note that the prerequisite package .pc files search order is as follows: // -- cgit v1.1