Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61886

When passing *_LIBS_[DEBUG|RELEASE] as an argument to configure then this should be used for the config.tests too

    XMLWordPrintable

Details

    Description

      When passing

      *_LIBS_[DEBUG|RELEASE]

      as an argument to configure then this should be used for the config.tests too. For example, passing:

      ./configure -prefix $PWD/qtbase -nomake examples -nomake tests -system-libjpeg LIBJPEG_LIBS_DEBUG=-lfood LIBJPEG_LIBS_RELEASE=-lfoo LIBJPEG_INCDIR=-Ifooinc -recheck-all 
      

      will cause libjpeg.pro to be called with:

      "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared console single_arch" 'LIBS += -ljpeg' 'INCLUDEPATH *= -Ifooinc'
      

      Whereas the LIBS part should be passing -lfoo instead since it should use the given release version of the library which is specified to override this case. If LIBJPEG_LIBS is used then it will use this instead of -ljpeg which is correct, but the release one should still be combined with this.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              buddenha Oswald Buddenhagen
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes