Added a change suggested by Cees Verstoep
This commit is contained in:
parent
3f950c9f17
commit
63d6fe28e7
|
@ -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…
Reference in a new issue