Added a change suggested by Cees Verstoep
This commit is contained in:
parent
3f950c9f17
commit
63d6fe28e7
1 changed files with 7 additions and 0 deletions
|
@ -110,6 +110,13 @@ list_dependencies(source)
|
||||||
s++;
|
s++;
|
||||||
*s++ = 'o';
|
*s++ = 'o';
|
||||||
*s = '\0';
|
*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;
|
else source = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue