diff options
| author | gingerBill <bill@gingerbill.org> | 2020-05-02 10:00:34 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-05-02 10:00:34 +0100 |
| commit | 1a9e75267bd78d897b0f0346d2192f4882d01406 (patch) | |
| tree | 466524f6e99eaf540d0ec7d31663220b9b3de4e6 /src/main.cpp | |
| parent | dd0fb744fe1eae5727ddffaf3c2a59e830f857b2 (diff) | |
Fix rc.exe call
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index a3daf25dc..c3572a457 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -227,8 +227,7 @@ i32 linker_stage(lbGenerator *gen) { if (!build_context.use_lld) { // msvc if (build_context.has_resource) { exit_code = system_exec_command_line_app("msvc-link", - "\"%.*src.exe\" /nologo /fo \"%.*s.res\" \"%.*s.rc\"", - LIT(find_result.vs_exe_path), + "\"rc.exe\" /nologo /fo \"%.*s.res\" \"%.*s.rc\"", LIT(output_base), LIT(build_context.resource_filepath) ); @@ -1806,8 +1805,7 @@ int main(int arg_count, char const **arg_ptr) { if (!build_context.use_lld) { // msvc if (build_context.has_resource) { exit_code = system_exec_command_line_app("msvc-link", - "\"%.*src.exe\" /nologo /fo \"%.*s.res\" \"%.*s.rc\"", - LIT(find_result.vs_exe_path), + "\"rc.exe\" /nologo /fo \"%.*s.res\" \"%.*s.rc\"", LIT(output_base), LIT(build_context.resource_filepath) ); |