diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-11-17 14:47:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-11-17 14:47:29 +0200 |
commit | b18f0625d036a15c993591e79f04ef12381a2683 (patch) | |
tree | 41d7fdf10f9d48f3923cf2a2233e6ec972b47b0e /libbuild2/cc | |
parent | 818dd4a4e743bc8c93d1be67685b1f2e5db6dcf5 (diff) |
Omit default extensions for target types that now have fixed extensions
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/link-rule.cxx | 4 |
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 ()); } } |