Browse Source

Merge pull request #3396 from laytan/fix-nasm-check

fix nasm check
gingerBill 1 year ago
parent
commit
a14f0d8f58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/linker.cpp

+ 1 - 1
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;
 							}