This commit is contained in:
parent
37e43b673f
commit
e48c60e296
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ namespace Crafter {
|
||||||
libPath += std::format(" /LIBPATH:{}", lib);
|
libPath += std::format(" /LIBPATH:{}", lib);
|
||||||
}
|
}
|
||||||
|
|
||||||
buildResult.errors = RunCommand(std::format("{} && link.exe {} {} {}\\{}\\std.obj msvcrt.lib kernel32.lib user32.lib /OUT:{}.exe", vsVars, libPath, files, exeDir.string(), config.target, (binDir/outputName).string()));
|
buildResult.errors = RunCommand(std::format("{} && link.exe /NODEFAULTLIB:library {} {} {}\\{}\\std.obj msvcrt.lib kernel32.lib user32.lib /OUT:{}.exe", vsVars, libPath, files, exeDir.string(), config.target, (binDir/outputName).string()));
|
||||||
#endif
|
#endif
|
||||||
} else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {
|
} else if(config.type == CRAFTER_CONFIGURATION_TYPE_LIBRARY) {
|
||||||
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
|
#ifdef CRAFTER_BUILD_CONFIGURATION_TARGET_x86_64_pc_linux_gnu
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue