aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/cxx/module.cxx')
-rw-r--r--build/cxx/module.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/cxx/module.cxx b/build/cxx/module.cxx
index c2469d9..7171738 100644
--- a/build/cxx/module.cxx
+++ b/build/cxx/module.cxx
@@ -79,6 +79,15 @@ namespace build
rs.insert<libso> (perform_id, update_id, "cxx", link::instance);
rs.insert<libso> (perform_id, clean_id, "cxx", link::instance);
+ // Register for configure so that we detect unresolved imports
+ // during configuration rather that later, e.g., during update.
+ //
+ rs.insert<obja> (configure_id, update_id, "cxx", compile::instance);
+ rs.insert<objso> (configure_id, update_id, "cxx", compile::instance);
+ rs.insert<exe> (configure_id, update_id, "cxx", link::instance);
+ rs.insert<liba> (configure_id, update_id, "cxx", link::instance);
+ rs.insert<libso> (configure_id, update_id, "cxx", link::instance);
+
//@@ Should we check if install module was loaded (see bin)?
//
rs.insert<exe> (perform_id, install_id, "cxx", install::instance);