if((tgt=check_header(Path::Path("/usr/include/c++/4.1.2")/fn)))
return tgt;
for(list<string>::const_iterator j=path.begin(); j!=path.end(); ++j)
- if((tgt=check_header(Path::Path(*j)/fn)))
+ if((tgt=check_header(Path::getcwd()/ *j/fn)))
return tgt;
return 0;
string basename="lib"+lib+".so";
for(list<string>::const_iterator j=path.begin(); j!=path.end(); ++j)
{
- string full=(Path::Path(*j)/basename).str();
+ string full=(Path::getcwd()/ *j/basename).str();
Target *tgt=get_target(full);
if(tgt) return tgt;