fix build failures with test && ln

This commit is contained in:
leitner
2025-03-20 13:04:15 +00:00
parent 0619e08092
commit e420a90d32
2 changed files with 145 additions and 139 deletions

File diff suppressed because one or more lines are too long

2
n.c
View File

@@ -506,7 +506,7 @@ int main() {
if (strstr("pause",s))
puts(s);
if (colon && strncmp(s,"have",4))
fprintf(ninja,"build libowfat/%.*s: cphdr %.*s\n",(int)(colon-s),s,(int)(colon-s),s);
fprintf(ninja,"build libowfat/%.*s: cphdr %.*s | lnifnewer\n",(int)(colon-s),s,(int)(colon-s),s);
}
fprintf(ninja,"\n");