diff options
author | Michael Krelin <hacker@klever.net> | 2007-06-07 23:17:07 +0000 |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-06-07 23:17:07 +0000 |
commit | e75e6d109874e63925e1fe1d35fc61395a5b6420 (patch) | |
tree | b23dc2e5f648dce0bfaf5ffadf03ee7307d60345 | |
parent | 26fffeba227876638d7d2a508120661b86dfa380 (diff) |
qt 4.3.0: more fixes
- adjusted staging as to actually build qt-based apps.
- minor fix in install
-rw-r--r-- | packages/qt/qt4-x11-free_4.3.0.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/qt/qt4-x11-free_4.3.0.bb b/packages/qt/qt4-x11-free_4.3.0.bb index 830b93e229..4ff41fa8fd 100644 --- a/packages/qt/qt4-x11-free_4.3.0.bb +++ b/packages/qt/qt4-x11-free_4.3.0.bb @@ -51,11 +51,11 @@ do_configure() { echo "DEFINES += QT_NO_XIM" >>src/qbase.pri unset QMAKESPEC ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake - ln -sf ./linux-g++ mkspecs/linux-gnueabi-g++ + ln -s linux-g++ mkspecs/${TARGET_OS}-oe-g++ #export QMAKESPEC="linux-oe-g++" #rm -rf ./mkspecs #ln -sf ${QMAKE_MKSPEC_PATH} ./mkspecs - echo yes | ./configure -prefix / -platform ${TARGET_OS}-g++ -crossarch ${QT_ARCH} ${QT_CONFIG_FLAGS} -fast \ + echo yes | ./configure -prefix / -platform ${TARGET_OS}-oe-g++ -crossarch ${QT_ARCH} ${QT_CONFIG_FLAGS} -fast \ -L${STAGING_LIBDIR} -I${STAGING_INCDIR} -I${STAGING_INCDIR}/freetype2 -I${STAGING_INCDIR}/mysql } @@ -85,6 +85,7 @@ do_stage() { install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${STAGING_QT_DIR}/bin/rcc install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${STAGING_QT_DIR}/bin/moc install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${STAGING_QT_DIR}/bin/uic + sed -i -e 's,^QMAKE_RPATHDIR.*,QMAKE_RPATHDIR=${STAGING_QT_DIR}/lib,g' ${STAGING_QT_DIR}/mkspecs/qconfig.pri } # FIXME: Might want to call oe_runmake install INSTALL_ROOT=${D}/${prefix} as well... @@ -97,7 +98,7 @@ do_install() { do oe_libinstall -so -C lib libQt$part ${D}${libdir} done - oe_libinstall -a -C lib libQtUiTools ${STAGING_QT_DIR} + oe_libinstall -a -C lib libQtUiTools ${D}${libdir} cp -pPR include/* ${D}${includedir} cp -pPR plugins ${D}${libdir} cp -pPR bin/* ${D}${bindir} |