Fix partial paths being output to dep files with -i

This commit is contained in:
ISSOtm
2019-11-09 01:33:52 +01:00
parent a29dd738f2
commit 7bb55469fe

View File

@@ -369,7 +369,7 @@ FILE *fstk_FindFile(char *fname, char **incPathUsed)
f = fopen(path, "rb"); f = fopen(path, "rb");
if (f != NULL || errno != ENOENT) { if (f != NULL || errno != ENOENT) {
printdep(fname); printdep(path);
if (incPathUsed) if (incPathUsed)
*incPathUsed = IncludePaths[i]; *incPathUsed = IncludePaths[i];