Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.9.1
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
- duplicates
-
QTBUG-61431 processing of configure *_LIBS_[DEBUG|RELEASE] arguments is botched
- Closed