diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-23 09:17:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-23 09:17:13 +0200 |
commit | 112f44f7f863e34d42657ad3bf14d160cc3e11e8 (patch) | |
tree | d5f02e5890839222aa87ca896c86bb46eb751f0a /libbuild2/cc | |
parent | 5a763a5552184090602f0a9303b9266f5412f020 (diff) |
Add support for relocatable installation in $install.resolve()
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 3 |
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 ()) |