aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/pkgconfig.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-02-03 15:45:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-02-03 15:45:39 +0200
commit8efa97024e4ad2bac1cc9639e36c72fa1be4595d (patch)
tree748bff5499ba647d5763bb7494c7b864f894149c /libbuild2/cc/pkgconfig.cxx
parent1195f9307c425ed28075a17671c13676b65f4a43 (diff)
Exclude -lexecinfo from resolution
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r--libbuild2/cc/pkgconfig.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx
index 775b055..3e25167 100644
--- a/libbuild2/cc/pkgconfig.cxx
+++ b/libbuild2/cc/pkgconfig.cxx
@@ -878,6 +878,11 @@ namespace build2
if (l == "-lSystem")
continue;
}
+ else if (tclass == "bsd")
+ {
+ if (l == "-lexecinfo")
+ continue;
+ }
// Prepare user search paths by entering the -L paths from the .pc
// file.