aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-08-25 11:21:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-08-25 11:21:03 +0200
commit17341bc0fdd23617e3f2e81b0228ff9ecc5cb194 (patch)
treeba71cd9e22000be3ea70015945f53499ac461f95 /bdep/sync.cxx
parentdcaa89ffa1dc471b014119987e6a06d2bf648487 (diff)
Suppress loading external modules when con/disfiguring forwards
Diffstat (limited to 'bdep/sync.cxx')
-rw-r--r--bdep/sync.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 825ac3d..3ab3ab4 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -1117,7 +1117,13 @@ namespace bdep
if (o != nullptr)
{
dir_path out (dir_path (cfg) /= pkg.name.string ());
+
+ // Note that --no-external-modules makes a difference for
+ // developing build system modules that require bootstrapping
+ // (which without that option would trigger a recursive sync).
+ //
run_b (co,
+ "--no-external-modules",
o,
"'" + src.representation () + "'@'" + out.representation () +
"',forward");