do not look for frameworks in library path

it's just wrong

Change-Id: Ia21e9fb7e67623d6c4f70eab1f76360624ba314b
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
Oswald Buddenhagen 2012-07-19 17:52:29 +02:00 committed by Qt by Nokia
parent 5bc9541e7a
commit 5e965df21d

View File

@ -626,9 +626,8 @@ UnixMakefileGenerator::processPrlFiles()
else
opt = l.at(++lit);
opt = opt.trimmed();
const QList<QMakeLocalFileName> dirs = frameworkdirs + libdirs;
for(int dep_i = 0; dep_i < dirs.size(); ++dep_i) {
QString prl = dirs[dep_i].local() + "/" + opt + ".framework/" + opt + Option::prl_ext;
foreach (const QMakeLocalFileName &dir, frameworkdirs) {
QString prl = dir.local() + "/" + opt + ".framework/" + opt + Option::prl_ext;
if(processPrlFile(prl))
break;
}