aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/link-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-11-17 14:47:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-11-17 14:47:29 +0200
commitb18f0625d036a15c993591e79f04ef12381a2683 (patch)
tree41d7fdf10f9d48f3923cf2a2233e6ec972b47b0e /libbuild2/cc/link-rule.cxx
parent818dd4a4e743bc8c93d1be67685b1f2e5db6dcf5 (diff)
Omit default extensions for target types that now have fixed extensions
Diffstat (limited to 'libbuild2/cc/link-rule.cxx')
-rw-r--r--libbuild2/cc/link-rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index b22cae0..240881a 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -1009,7 +1009,7 @@ namespace build2
file& wasm (add_adhoc_member<file> (t, tt));
if (wasm.path ().empty ())
- wasm.derive_path ("wasm");
+ wasm.derive_path ();
}
// Add VC's .pdb. Note that we are looking for the link.exe /DEBUG
@@ -1032,7 +1032,7 @@ namespace build2
// will include the version in case of a dll).
//
if (pdb.path ().empty ())
- pdb.derive_path (t.path (), "pdb");
+ pdb.derive_path (t.path ());
}
}