We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d14a2e commit d2e0eeeCopy full SHA for d2e0eee
src/command.c
@@ -2684,7 +2684,7 @@ static void perform_echo(const char *arg)
2684
2685
static void perform_elfexec(const char *arg)
2686
{
2687
-#ifdef DJ64
+#if defined(DJ64) && !defined(STATIC_LINK)
2688
int rc;
2689
#endif
2690
if (!arg || !arg[0])
@@ -2693,7 +2693,7 @@ static void perform_elfexec(const char *arg)
2693
reset_batfile_call_stack();
2694
return;
2695
}
2696
2697
rc = elfexec(arg, 0, NULL);
2698
if (rc == -1)
2699
printf("elfexec failed\n");
0 commit comments