remove nonsensical path stripping
we strip the path a few lines above already. Change-Id: If7524b8e744d2f1ab2f5a6920097d25671449829 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
0812b5b318
commit
217f21c479
@ -169,7 +169,7 @@ Win32MakefileGenerator::findLibraries()
|
|||||||
if(file.endsWith(".lib")) {
|
if(file.endsWith(".lib")) {
|
||||||
file = file.left(file.length() - 4);
|
file = file.left(file.length() - 4);
|
||||||
if(!file.at(file.length()-1).isNumber()) {
|
if(!file.at(file.length()-1).isNumber()) {
|
||||||
ProString suffix = project->first(ProKey("QMAKE_" + file.section(Option::dir_sep, -1).toUpper() + "_SUFFIX"));
|
ProString suffix = project->first(ProKey("QMAKE_" + file.toUpper() + "_SUFFIX"));
|
||||||
for(QList<QMakeLocalFileName>::Iterator dep_it = lib_dirs.begin(); dep_it != lib_dirs.end(); ++dep_it) {
|
for(QList<QMakeLocalFileName>::Iterator dep_it = lib_dirs.begin(); dep_it != lib_dirs.end(); ++dep_it) {
|
||||||
QString lib_tmpl(file + "%1" + suffix + ".lib");
|
QString lib_tmpl(file + "%1" + suffix + ".lib");
|
||||||
int ver = findHighestVersion((*dep_it).local(), file);
|
int ver = findHighestVersion((*dep_it).local(), file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user