diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-28 13:02:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-28 13:02:52 +0200 |
commit | d07521c67db21aa02dddf9615dce9f9f3dfe784c (patch) | |
tree | ad7ced4331d87004150ef89134f28abcbf283ec9 /libbuild2/context.cxx | |
parent | a4ef665e379e81656ffb07f9290e7573c137350f (diff) |
Redo build_installed without requiring linking whole archive
Diffstat (limited to 'libbuild2/context.cxx')
-rw-r--r-- | libbuild2/context.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx index f310426..cc0eb0b 100644 --- a/libbuild2/context.cxx +++ b/libbuild2/context.cxx @@ -133,10 +133,12 @@ namespace build2 // var_import_build2 = &vp.insert<abs_dir_path> ("import.build2"); -#ifdef BUILD2_IMPORT_PATH if (!build_installed) + { +#ifdef BUILD2_IMPORT_PATH gs.assign (var_import_build2) = abs_dir_path (BUILD2_IMPORT_PATH); #endif + } // Build system verbosity level. // |