Changeset 152 for trunk/qmake/generators/os2/gnumake.cpp
- Timestamp:
- Nov 10, 2006, 1:30:20 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/os2/gnumake.cpp
r93 r152 638 638 setMocAware(TRUE); 639 639 640 // add -L libs to libdir 640 // move -L<path> constructs to libdir and remove -l from the beginning of 641 // all other libraries (the correct linker switch will be set when 642 // generating the LIBS variable for the makefile in writeGNUParts()) 641 643 QStringList &libs = project->variables()["QMAKE_LIBS"]; 642 644 for ( QStringList::Iterator libit = libs.begin(); libit != libs.end(); ) { … … 645 647 libit = libs.remove( libit ); 646 648 } else { 649 if ( (*libit).startsWith( "-l" ) ) 650 *libit = (*libit).mid(2); 647 651 ++libit; 648 652 }
Note:
See TracChangeset
for help on using the changeset viewer.