Changeset 34 for trunk/qmake/generators/os2/gnumake.cpp
- Timestamp:
- Jun 17, 2009, 9:33:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/os2/gnumake.cpp
r31 r34 310 310 for(QStringList::Iterator it = libs.begin(); it != libs.end(); ++it) { 311 311 QString lib = maybeQuotePath(*it); 312 /* lib may be prefixed with -l which is commonly used in e.g. PRF 313 * (feature) files on all platforms; remove it before prepending 314 * the compiler-specific option */ 315 if (lib.startsWith("-l")) 316 lib = lib.mid(2); 312 317 t << " " << opt << lib; 313 318 } … … 322 327 for(QStringList::Iterator it = libDirs.begin(); it != libDirs.end(); ++it) { 323 328 QString libDir = maybeQuotePath(*it); 329 /* libDir may be prefixed with -L which is commonly used in e.g. PRF 330 * (feature) files on all platforms; remove it before prepending 331 * the compiler-specific option */ 332 if (libDir.startsWith("-L")) 333 libDir = libDir.mid(2); 324 334 t << " " << opt << libDir; 325 335 }
Note:
See TracChangeset
for help on using the changeset viewer.