Add -radlink

This commit is contained in:
gingerBill
2024-11-14 16:32:26 +00:00
parent c440122d93
commit 21a25bddde
3 changed files with 52 additions and 21 deletions
+2 -1
View File
@@ -420,6 +420,7 @@ struct BuildContext {
bool no_entry_point;
bool no_thread_local;
bool use_lld;
bool use_radlink;
bool cross_compiling;
bool different_os;
bool keep_object_files;
@@ -1871,7 +1872,7 @@ gb_internal bool init_build_paths(String init_filename) {
return false;
}
if (!build_context.use_lld && find_result.vs_exe_path.len == 0) {
if (!build_context.use_lld && !build_context.use_radlink && find_result.vs_exe_path.len == 0) {
gb_printf_err("link.exe not found.\n");
return false;
}