aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/link.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/link.cxx')
-rw-r--r--build2/cc/link.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/link.cxx b/build2/cc/link.cxx
index d85faed..7798c95 100644
--- a/build2/cc/link.cxx
+++ b/build2/cc/link.cxx
@@ -549,7 +549,7 @@ namespace build2
}
if (pt == nullptr)
- pt = &search (ott, o.dir, o.out, o.name, o.ext, nullptr);
+ pt = &search (ott, o.dir, o.out, o.name, o.ext (), nullptr);
}
else
pt = &ot;