From b7db596590ff0cc31c56338684970d835840fdaa Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 2 Aug 2012 15:56:46 +0200 Subject: [PATCH] use QMAKE_LIBDIR for passing LSB library path -L in QMAKE_LFLAGS is just wrong Change-Id: I05eae0bb5e5e3dc8f8234616cb2ccdfba1d517fb Reviewed-by: Joerg Bornemann --- mkspecs/features/qt_functions.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf index b6a3b0ada4..3517e695a5 100644 --- a/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf @@ -99,7 +99,7 @@ defineTest(qtAddModule) { !isEmpty(QT.$${1}.libs) { # Use unmodified path, so /usr/lib also works !isEmpty(QMAKE_LSB) { !isEmpty(MODULE_LIBS): QMAKE_LFLAGS *= --lsb-libpath=$$MODULE_LIBS - QMAKE_LFLAGS *= -L/opt/lsb/lib + QMAKE_LIBDIR *= /opt/lsb/lib QMAKE_LFLAGS *= --lsb-shared-libs=$${MODULE_NAME}$${QT_LIBINFIX} } LIBS += $$LINKAGE