diff options
| author | gingerBill <bill@gingerbill.org> | 2024-04-26 13:12:15 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-04-26 13:12:15 +0100 |
| commit | 94e0707456bd2dc697cff055810e36d68e0f5a47 (patch) | |
| tree | cb702b892c422cb4599e72a7c82a6c040f213d30 /src | |
| parent | f745fff640ab1582bdfdd18a7239c58fa37db753 (diff) | |
Fix minor bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker.cpp b/src/linker.cpp index 498a96c5f..e694fd999 100644 --- a/src/linker.cpp +++ b/src/linker.cpp @@ -167,7 +167,7 @@ gb_internal i32 linker_stage(LinkerData *gen) { if (has_asm_extension(lib)) { if (!string_set_update(&asm_files, lib)) { - String asm_file = asm_files.entries[i].value; + String asm_file = lib; String obj_file = concatenate_strings(permanent_allocator(), asm_file, str_lit(".obj")); String obj_format = str_lit("win64"); #if defined(GB_ARCH_32_BIT) |