diff options
-rw-r--r-- | recipes-qt3/qt3/qt-x11-free-common.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-qt3/qt3/qt-x11-free-common.inc b/recipes-qt3/qt3/qt-x11-free-common.inc index a788cbe..6d23848 100644 --- a/recipes-qt3/qt3/qt-x11-free-common.inc +++ b/recipes-qt3/qt3/qt-x11-free-common.inc | |||
@@ -20,10 +20,16 @@ QT_CONFIG_FLAGS = "-release -shared -qt-zlib -no-nas-sound -no-sm -qt-libpng -no | |||
20 | 20 | ||
21 | EXTRA_ENV = 'QMAKE="${OE_QMAKE_QMAKE} -after INCPATH+=${STAGING_INCDIR} \ | 21 | EXTRA_ENV = 'QMAKE="${OE_QMAKE_QMAKE} -after INCPATH+=${STAGING_INCDIR} \ |
22 | INCPATH+=${STAGING_INCDIR}/freetype2 LIBS+=-L${STAGING_LIBDIR}" \ | 22 | INCPATH+=${STAGING_INCDIR}/freetype2 LIBS+=-L${STAGING_LIBDIR}" \ |
23 | QMAKESPEC="${QMAKESPEC}" LINK="${CXX} -Wl,-rpath-link,${STAGING_LIBDIR}" \ | 23 | QMAKESPEC="${QMAKESPEC}" LINK="${CXX}" \ |
24 | AR="${TARGET_PREFIX}ar cqs" \ | 24 | AR="${TARGET_PREFIX}ar cqs" \ |
25 | MOC="${OE_QMAKE_MOC}" UIC="${OE_QMAKE_UIC}" MAKE="make -e"' | 25 | MOC="${OE_QMAKE_MOC}" UIC="${OE_QMAKE_UIC}" MAKE="make -e"' |
26 | 26 | ||
27 | # This isn't an ideal fix, but not everything is obeying the 'LINK' variable, | ||
28 | # and the qt3 build isn't using a qmake.conf that obeys the OE_QMAKE_ | ||
29 | # variables. Rather than substantially reworking the qt3 build at this time, | ||
30 | # just hack it. We'll eventually bump LSB support and drop qt3 anyway. | ||
31 | CXX += "${LDFLAGS}" | ||
32 | |||
27 | do_configure() { | 33 | do_configure() { |
28 | if [ ! -L ${QMAKE_MKSPEC_PATH}/${TARGET_OS}-oe-g++ ]; then | 34 | if [ ! -L ${QMAKE_MKSPEC_PATH}/${TARGET_OS}-oe-g++ ]; then |
29 | ln -sf ${QMAKE_MKSPEC_PATH}/linux-g++ ${QMAKE_MKSPEC_PATH}/${TARGET_OS}-oe-g++ | 35 | ln -sf ${QMAKE_MKSPEC_PATH}/linux-g++ ${QMAKE_MKSPEC_PATH}/${TARGET_OS}-oe-g++ |