Changeset 872 for trunk/qmake/generators/os2/gnumake.cpp
- Timestamp:
- Jun 29, 2011, 6:36:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/os2/gnumake.cpp
r804 r872 218 218 if (lib.startsWith("-L")) { 219 219 // this is a library path 220 dirs.append(QMakeLocalFileName( (*it).mid(2)));220 dirs.append(QMakeLocalFileName(.mid(2))); 221 221 ++it; 222 222 continue; … … 403 403 404 404 // LIBS defined in Profile comes first for gcc 405 project->values("QMAKE_LIBS") += escapeFilePaths(project->values("LIBS"));406 project->values("QMAKE_LIBS_PRIVATE") += escapeFilePaths(project->values("LIBS_PRIVATE"));405 project->values("QMAKE_LIBS") += ); 406 project->values("QMAKE_LIBS_PRIVATE") += ); 407 407 408 408 QStringList &configs = project->values("CONFIG"); … … 490 490 QStringList libs = project->values(libVar); 491 491 for(QStringList::Iterator it = libs.begin(); it != libs.end(); ++it) { 492 QString lib = escapeFilePath(*it); 492 QString &lib = *it; 493 493 494 /* lib may be prefixed with -l which is commonly used in e.g. PRF 494 495 * (feature) files on all platforms; remove it before prepending … … 498 499 if (lib.startsWith("-L")) { 499 500 lib = lib.mid(2); 500 t << " " << optL << lib;501 t << " " << optL << ; 501 502 } else { 502 503 if (lib.startsWith("-l")) 503 504 lib = lib.mid(2); 504 t << " " << opt << lib;505 t << " " << opt << ; 505 506 } 506 507 }
Note:
See TracChangeset
for help on using the changeset viewer.