From b18f0625d036a15c993591e79f04ef12381a2683 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 17 Nov 2020 14:47:29 +0200 Subject: Omit default extensions for target types that now have fixed extensions --- libbuild2/cc/link-rule.cxx | 4 ++-- 1 file 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 (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 ()); } } -- cgit v1.1