aboutsummaryrefslogtreecommitdiff
path: root/src/linker.cpp
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-04-08 20:42:09 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-04-08 20:43:52 +0200
commit9c958ee66d21b3197382bf95f8db275e106930c8 (patch)
tree7c110782911b0ec9e227f37c462cd3386d4e6195 /src/linker.cpp
parenta00d96c0de2c0b6e4df76e58c1c394373e173751 (diff)
fix nasm check
Diffstat (limited to 'src/linker.cpp')
-rw-r--r--src/linker.cpp2
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;
}