qmake: fix library path on windows.
Convert '/' to '\' in library pathes. Change-Id: I0cf8a522a901199fddd59c863c932f214e1ab968 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
ebd8ca146d
commit
92f59be2b4
@ -122,7 +122,7 @@ Win32MakefileGenerator::findLibraries()
|
||||
if(opt.startsWith("/LIBPATH:")) {
|
||||
dirs.append(QMakeLocalFileName(opt.mid(9)));
|
||||
} else if(opt.startsWith("-L") || opt.startsWith("/L")) {
|
||||
QString libpath = opt.mid(2);
|
||||
QString libpath = Option::fixPathToTargetOS(opt.mid(2), false, false);
|
||||
QMakeLocalFileName l(libpath);
|
||||
if(!dirs.contains(l)) {
|
||||
dirs.append(l);
|
||||
|
Loading…
Reference in New Issue
Block a user