aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-11-04 13:41:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-11-04 13:41:23 +0200
commit65f77bb9a9556033a0bfb7401dd9a00120e27524 (patch)
treefe287d9986936f9240e6e8fecff5880684322fd9 /libbuild2/install/utility.hxx
parent63fb9ab4e861e5110c3652e74270f76fb858c37a (diff)
Do not apply install scope to update-for-install pre-operation
Diffstat (limited to 'libbuild2/install/utility.hxx')
-rw-r--r--libbuild2/install/utility.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/install/utility.hxx b/libbuild2/install/utility.hxx
index cc5cd53..52b9a54 100644
--- a/libbuild2/install/utility.hxx
+++ b/libbuild2/install/utility.hxx
@@ -61,6 +61,10 @@ namespace build2
// belong to projects outside of this scope. If it's NULL, install
// prerequisites from all projects. See also config.install.scope.
//
+ // Note that this should not apply to update-for-install. Failed that we
+ // may end up using incompatibly-built prerequisites (e.g., a library) in
+ // a target built for install (e.g., an executable).
+ //
LIBBUILD2_SYMEXPORT const scope*
install_scope (const target&);