summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-lsb-g++/qmake.conf
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2012-03-13 20:51:00 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-15 00:50:47 +0100
commitcdec3b376fc75b23ad6a4fe0b0d2fb6c8dcb5121 (patch)
tree721a1067ba3caddff580ba011e665b583b051c97 /mkspecs/linux-lsb-g++/qmake.conf
parentf2826292242cb2412ddc7e068e668089bfa89f36 (diff)
Use the LSB linker to link
Fixes those cases where things would magically link, although they were everything but LSB compliant. Also fix a linker error, it seems we need to explicitly link to -lrt, otherwise, the non-LSB compliant system lib will be taken into account. Change-Id: I40e278f1c4d2e02084c4c5f15b9bbff8c5901d32 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/linux-lsb-g++/qmake.conf')
-rw-r--r--mkspecs/linux-lsb-g++/qmake.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkspecs/linux-lsb-g++/qmake.conf b/mkspecs/linux-lsb-g++/qmake.conf
index 4335f5ae91..c486534b87 100644
--- a/mkspecs/linux-lsb-g++/qmake.conf
+++ b/mkspecs/linux-lsb-g++/qmake.conf
@@ -14,6 +14,14 @@ include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
load(qt_config)
+QMAKE_LIBS_THREAD += -lrt
+
QMAKE_LSB = 1
QMAKE_CC = lsbcc
QMAKE_CXX = lsbc++
+
+QMAKE_LINK_C = $$QMAKE_CC
+QMAKE_LINK_C_SHLIB = $$QMAKE_CC
+
+QMAKE_LINK = $$QMAKE_CXX
+QMAKE_LINK_SHLIB = $$QMAKE_CXX