aboutsummaryrefslogtreecommitdiff
path: root/src/linker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-04-10 12:32:32 +0100
committergingerBill <bill@gingerbill.org>2024-04-10 12:32:32 +0100
commit97e2d8916a2b5018cdee15c5057edbbdcb9128d5 (patch)
treeacadc8e0407447a50e9aa0a14429de15917a631e /src/linker.cpp
parent3dfd61dd4f1aec7525a8d6820c9c977f6a3ed14e (diff)
parent0f39b9ef22c4b73448bc0ccc58369ea36723103e (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
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;
}