aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/bin/init.cxx')
-rw-r--r--build2/bin/init.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/bin/init.cxx b/build2/bin/init.cxx
index 0761bb6..13e3289 100644
--- a/build2/bin/init.cxx
+++ b/build2/bin/init.cxx
@@ -399,6 +399,12 @@ namespace build2
t.insert<liba> ();
t.insert<libs> ();
+ // Register the def{} target type. Note that we do it here since it is
+ // input and can be specified unconditionally (i.e., not only when
+ // building for Windows).
+ //
+ t.insert<def> ();
+
// Note: libu*{} are not installable.
//
if (install_loaded)