Implement linker-compatible library search.

This commit is contained in:
Boris Kolpackov
2009-11-12 16:42:36 +00:00
parent 5f188b39a4
commit fe43fa9de3
9 changed files with 193 additions and 53 deletions

View File

@@ -721,7 +721,7 @@ pattern_search (struct file *file, int archive,
"lib/foo.c", and VPATH=src, searches for
"src/lib/foo.c". */
{
const char *vname = vpath_search (d->name, 0);
const char *vname = vpath_search (d->name, 0, NULL, NULL);
if (vname)
{
DBS (DB_IMPLICIT,