Changeset 162 for trunk/qmake


Ignore:
Timestamp:
Sep 7, 2009, 10:06:35 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: On OS/2, obey create_prl even for plugins (this is necessary for the correct long name -> short name translation when statically linking).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/generators/makefile.cpp

    r158 r162  
    10861086MakefileGenerator::writePrlFile()
    10871087{
     1088
     1089
     1090
     1091
     1092
    10881093    if((Option::qmake_mode == Option::QMAKE_GENERATE_MAKEFILE ||
    10891094            Option::qmake_mode == Option::QMAKE_GENERATE_PRL)
     
    10921097       && (project->first("TEMPLATE") == "lib"
    10931098       || project->first("TEMPLATE") == "vclib")
    1094        && !project->isActiveConfig("plugin")) { //write prl file
     1099       && (project->isActiveConfig("os2") || !project->isActiveConfig("plugin"))
     1100       ) { //write prl file
    10951101        QString local_prl = prlFileName();
    10961102        QString prl = fileFixify(local_prl);
Note: See TracChangeset for help on using the changeset viewer.