aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-23 09:17:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-23 09:17:13 +0200
commit112f44f7f863e34d42657ad3bf14d160cc3e11e8 (patch)
treed5f02e5890839222aa87ca896c86bb46eb751f0a /libbuild2/cc
parent5a763a5552184090602f0a9303b9266f5412f020 (diff)
Add support for relocatable installation in $install.resolve()
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/pkgconfig.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx
index b06d488..3a94de2 100644
--- a/libbuild2/cc/pkgconfig.cxx
+++ b/libbuild2/cc/pkgconfig.cxx
@@ -1410,7 +1410,7 @@ namespace build2
{
bool f (ldirs.empty ());
- ldirs.push_back (resolve_dir (g, d, !f /* fail_unknown */));
+ ldirs.push_back (resolve_dir (g, d, {}, !f /* fail_unknown */));
if (f && ldirs.back ().empty ())
break;
@@ -1419,6 +1419,7 @@ namespace build2
else
ldirs.push_back (resolve_dir (g,
cast<dir_path> (g["install.lib"]),
+ {},
false /* fail_unknown */));
if (!ldirs.empty () && ldirs.front ().empty ())