diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-27 00:21:41 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-27 00:21:41 +0300 |
commit | 4caed823a8c762676fe57ff646bf19b6c14e9f6e (patch) | |
tree | 0f6d4597834c0ac4580d8234d235255c08d8cbe1 /libbuild2/context.cxx | |
parent | 4a23b4cdf3102a8fef8ac6ebd8a884cd613c28ee (diff) |
Don't set import.build2 variable in cross-compiled build2
Diffstat (limited to 'libbuild2/context.cxx')
-rw-r--r-- | libbuild2/context.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx index a715c59..87685ef 100644 --- a/libbuild2/context.cxx +++ b/libbuild2/context.cxx @@ -129,7 +129,7 @@ namespace build2 // var_import_build2 = &vp.insert<abs_dir_path> ("import.build2"); -#ifndef BUILD2_BOOTSTRAP +#ifdef BUILD2_IMPORT_PATH if (!build_installed) gs.assign (var_import_build2) = abs_dir_path (BUILD2_IMPORT_PATH); #endif |