Added a change suggested by Cees Verstoep
This commit is contained in:
parent
92ca72deb6
commit
c407fbc3a5
@ -110,6 +110,13 @@ list_dependencies(source)
|
||||
s++;
|
||||
*s++ = 'o';
|
||||
*s = '\0';
|
||||
/* the source may be in another directory than the
|
||||
* object generated, so don't include the pathname
|
||||
* leading to it.
|
||||
*/
|
||||
if (s = strrindex(source, '/')) {
|
||||
source = s + 1;
|
||||
}
|
||||
}
|
||||
else source = 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user