aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/module.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx
index ff705eb..bb471a4 100644
--- a/libbuild2/module.cxx
+++ b/libbuild2/module.cxx
@@ -44,6 +44,7 @@ namespace build2
// Sorted array of bundled modules (excluding core modules bundled with
// libbuild2; see below).
//
+#if !defined(BUILD2_BOOTSTRAP) && !defined(LIBBUILD2_STATIC_BUILD)
static const char* bundled_modules[] = {
"bash",
"bin",
@@ -62,6 +63,7 @@ namespace build2
bundled_modules + sizeof (bundled_modules) / sizeof (*bundled_modules),
mod);
}
+#endif
// Note: also used by ad hoc recipes thus not static.
//