diff options
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r-- | build2/cc/common.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx index e4dbfe8..c32d83e 100644 --- a/build2/cc/common.cxx +++ b/build2/cc/common.cxx @@ -429,7 +429,10 @@ namespace build2 // This is import. // optional<string> ext; - const target_type* tt (s.find_target_type (n, ext)); // Changes name. + + // Changes name. + // + const target_type* tt (s.find_target_type (n, ext, location ())); if (tt == nullptr) fail << "unknown target type '" << n.type << "' in library " << n; |