Changeset 119 for trunk/mkspecs


Ignore:
Timestamp:
Aug 17, 2009, 8:58:38 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake/GNUMAKE: Improved PRL file processing (could sometimes lose parts of the library that was split using splitDll* functions so that client applications would miss symbols from the lost parts when linking).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/features/os2/default_pre.prf

    r104 r119  
    5454    !build_pass: return(true)
    5555
    56     # this is necessary to store LIBS as QMAKE_PRL_LIBS in the generated .prl
    57     CONFIG += explicitlib
    58 
    5956    # define _VERSION_OVERRIDE statements if needed
    6057    for(a, 1) {
     
    7976
    8077        CONFIG($$SPLIT_CONFIG):CONFIG($$scope) {
    81             # add the other parts to LIBS of this part
     78            # add the other parts to LIBS of this part
    8279            for(b, 1) {
    8380                !equals(b, $${a}) {
    8481                    equals(b, "."):b =
    8582                    eval(LIBS += -l$${TARGET}$${b})
     83
    8684                }
    8785            }
    8886            !isEmpty(LIBS):export(LIBS)
    89             QMAKE_LIBDIR += $(DESTDIR)
     87            !isEmpty(PRL_EXPORT_LIBS):export(PRL_EXPORT_LIBS)
     88           
     89            QMAKE_LIBDIR *= $(DESTDIR)
    9090            export(QMAKE_LIBDIR)
    9191
Note: See TracChangeset for help on using the changeset viewer.