$$QMAKE_LIBDIR contents belong into $(LIBS), not $(LFLAGS)
unlike for the unix linker, this does not matter for the windows linker, but keeping it consistent has advantages. Change-Id: Ib9b9efa18c31d87c026d3cac5a8737f4612ad1c0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
2184b27462
commit
8fa9249acc
@ -764,11 +764,11 @@ void Win32MakefileGenerator::writeLibsPart(QTextStream &t)
|
||||
t << "LIBFLAGS = " << var("QMAKE_LIBFLAGS") << endl;
|
||||
} else {
|
||||
t << "LINK = " << var("QMAKE_LINK") << endl;
|
||||
t << "LFLAGS = ";
|
||||
t << "LFLAGS = " << var("QMAKE_LFLAGS") << endl;
|
||||
t << "LIBS = ";
|
||||
if(!project->values("QMAKE_LIBDIR").isEmpty())
|
||||
writeLibDirPart(t);
|
||||
t << var("QMAKE_LFLAGS") << endl;
|
||||
t << "LIBS = " << var("QMAKE_LIBS") << " " << var("QMAKE_LIBS_PRIVATE") << endl;
|
||||
t << var("QMAKE_LIBS") << " " << var("QMAKE_LIBS_PRIVATE") << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user