summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@digia.com>2013-03-08 10:17:59 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-13 17:24:49 +0100
commit92f59be2b42e874c0215c2524336b7e3e8da5929 (patch)
treea614c1d13383d36d471e9bd9f887242755817771 /qmake/generators
parentebd8ca146db023143d32ca6cba68b813b9e3da0b (diff)
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>
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/win32/winmakefile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/win32/winmakefile.cpp b/qmake/generators/win32/winmakefile.cpp
index cac63ed932..c6a70c7539 100644
--- a/qmake/generators/win32/winmakefile.cpp
+++ b/qmake/generators/win32/winmakefile.cpp
@@ -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);