diff options
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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: // |