Ignore:
Timestamp:
Jul 13, 2011, 1:59:46 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: os2/gnumake: Removed unnecessary shortening the import library name for the DLL target when TARGET_SHORT is present. Import libraries are often referenced through the LIBS variable in .pro files and this change makes such referencing work w/o the need to change them to shortened ones for the OS/2 platform. Closes #225. Note: this changeset depends on r885.

File:
1 edited

Legend:

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

    r860 r886  
    974974    if(!project->isEmpty("QMAKE_ABSOLUTE_SOURCE_PATH"))
    975975        t << "QMAKE_PRL_SOURCE_DIR = " << project->first("QMAKE_ABSOLUTE_SOURCE_PATH") << endl;
     976
     977
    976978    if(!project->isEmpty("TARGET_SHORT"))
    977         t << "QMAKE_PRL_TARGET = " << project->first("TARGET_SHORT") << endl;
    978     else
    979         t << "QMAKE_PRL_TARGET = " << target << endl;
     979        t << "QMAKE_PRL_TARGET_SHORT = " << project->first("TARGET_SHORT") << endl;
     980
    980981    if(!project->isEmpty("PRL_EXPORT_DEFINES"))
    981982        t << "QMAKE_PRL_DEFINES = " << project->values("PRL_EXPORT_DEFINES").join(" ") << endl;
Note: See TracChangeset for help on using the changeset viewer.