shithub: rgbds

Download patch

ref: 7bb55469fe80dd089019b0fcb198ab8efc24eb45
parent: a29dd738f2486752dab0eac1f59204da00e0c67e
author: ISSOtm <[email protected]>
date: Fri Nov 8 20:33:52 EST 2019

Fix partial paths being output to dep files with `-i`

--- a/src/asm/fstack.c
+++ b/src/asm/fstack.c
@@ -369,7 +369,7 @@
 		f = fopen(path, "rb");
 
 		if (f != NULL || errno != ENOENT) {
-			printdep(fname);
+			printdep(path);
 
 			if (incPathUsed)
 				*incPathUsed = IncludePaths[i];