diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-20 23:29:32 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-20 23:29:32 +0200 |
commit | ce9ca0ccdab49f38160d38386574b368ac6a13d7 (patch) | |
tree | 02ebb49a4d427ad3b1b929303a9ca9690a4ddf36 | |
parent | d8760ab5cf8378fa50e48453149e96a1392253e2 (diff) |
Test against the correct macros
-rw-r--r-- | make.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -164,7 +164,7 @@ usage: strspushl(&cmd, "ar", "rcs", LIBNAME ".a"); strspush(&cmd, g.gl_pathv, g.gl_pathc); cmdput(cmd); - if (cmdexec(cmd) != EXIT_FAILURE) { + if (cmdexec(cmd) != EXIT_SUCCESS) { rv = EXIT_FAILURE; goto out; } @@ -179,7 +179,7 @@ usage: strspushl(&cmd, "-shared", "-o", LIBNAME ".so"); strspush(&cmd, g.gl_pathv, g.gl_pathc); cmdput(cmd); - if (cmdexec(cmd) != EXIT_FAILURE) + if (cmdexec(cmd) != EXIT_SUCCESS) rv = EXIT_FAILURE; strsfree(&cmd); } |