Changeset 247 for trunk/qmake


Ignore:
Timestamp:
Oct 17, 2009, 4:24:07 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Make sure that QMAKE_PRL_VERSION is ignored and not appended to the library name when reading .prl files of static libraries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/generators/os2/gnumake.cpp

    r194 r247  
    130130            if (!versionOverride.isEmpty())
    131131                target += versionOverride;
    132             else if (!libinfo.isEmpty("QMAKE_PRL_VERSION"))
     132            else if (!libinfo.values("QMAKE_PRL_CONFIG").contains("staticlib") &&
     133                     !libinfo.isEmpty("QMAKE_PRL_VERSION"))
    133134                target += libinfo.first("QMAKE_PRL_VERSION").replace(".", "");
    134135
Note: See TracChangeset for help on using the changeset viewer.