Removes /.libs/lt- from a path or just lt- from the filename.
1358 const boost::filesystem::path path(src);
1360 string pname = path.parent_path().string();
1361 #if BOOST_VERSION < 104600 1362 string fname = path.filename();
1364 string fname = path.filename().string();
1368 if (fname.substr(0, 3)==
"lt-")
1369 fname = fname.substr(3);
1374 pname = boost::filesystem::current_path().string();
1382 if (pname.length()>=6)
1385 const size_t pos = pname.length()-6;
1386 if (pname.substr(pos)==
"/.libs")
1387 pname = pname.substr(0, pos);
1391 if (pname==boost::filesystem::current_path().
string())
1394 return pname+
'/'+fname;