fix lookup of libraries with a full path but without extension
given that nobody noticed so far how broken this was, this doesn't appear to be a particularly common path. but anyway ... Change-Id: Ic17b239d724a4d69ff414a24be2e8588732bc8dd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
ad5e583956
commit
c451a1087e
@ -538,8 +538,9 @@ UnixMakefileGenerator::findLibraries()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(exists(project->values("QMAKE_PREFIX_SHLIB").first() + stub + "." + (*extit))) {
|
||||
(*it) = project->values("QMAKE_PREFIX_SHLIB").first() + stub + "." + (*extit);
|
||||
QString lib = dir + project->values("QMAKE_PREFIX_SHLIB").first() + stub + "." + (*extit);
|
||||
if (exists(lib)) {
|
||||
(*it) = lib;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user