mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 22:14:54 +03:00
Add -link-internally support for MinGW and WebAssembly targets
This commit is contained in:
parent
631e29b761
commit
27e4ac0304
3 changed files with 11 additions and 4 deletions
|
@ -88,6 +88,9 @@ static std::string getOutputName() {
|
|||
extension = global.dll_ext;
|
||||
} else if (triple.isOSWindows()) {
|
||||
extension = "exe";
|
||||
} else if (triple.getArch() == llvm::Triple::wasm32 ||
|
||||
triple.getArch() == llvm::Triple::wasm64) {
|
||||
extension = "wasm";
|
||||
}
|
||||
|
||||
if (global.params.exefile) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue