diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-04-09 00:09:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-09 00:09:13 +0100 |
| commit | a14f0d8f58f602a2a658120c83b0df7e31e7cc6b (patch) | |
| tree | 919d2cb599862a63fa6dd7cbff5539ae4b456176 /src/linker.cpp | |
| parent | 25f781d64b37995d98b2d60f2a6dbef0088d94ee (diff) | |
| parent | 9c958ee66d21b3197382bf95f8db275e106930c8 (diff) | |
Merge pull request #3396 from laytan/fix-nasm-check
fix nasm check
Diffstat (limited to 'src/linker.cpp')
| -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 aa36b3278..498a96c5f 100644 --- a/src/linker.cpp +++ b/src/linker.cpp @@ -384,7 +384,7 @@ gb_internal i32 linker_stage(LinkerData *gen) { LIT(obj_file), LIT(build_context.extra_assembler_flags) ); - if (!result) { + if (result) { gb_printf_err("executing `nasm` to assemble foreing import of %.*s failed.\n\tSuggestion: `nasm` does not ship with the compiler and should be installed with your system's package manager.\n", LIT(asm_file)); return result; } |