diff options
author | Holger Freyther <zecke@selfish.org> | 2008-03-10 06:28:17 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2008-03-10 06:28:17 +0000 |
commit | fbcc2a285efb50ec78d8257b6c22ee73174b4066 (patch) | |
tree | 38c722e75010de9ac7ea3055067b0b5db0326f9a /packages/qt4/qt_packaging.inc | |
parent | 8a22fc8e84e37ac2990e1bbbd751740bde04dacd (diff) |
packages/qt4/qt_packaging.inc: Clean the .pc and .la files to not point to STAGING_*
Use some force to clean the installed .pc and .la files.
Diffstat (limited to 'packages/qt4/qt_packaging.inc')
-rw-r--r-- | packages/qt4/qt_packaging.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/qt4/qt_packaging.inc b/packages/qt4/qt_packaging.inc index ba2a037f59..1b4faf97d2 100644 --- a/packages/qt4/qt_packaging.inc +++ b/packages/qt4/qt_packaging.inc @@ -177,6 +177,15 @@ do_install() { rm -rf ${D}/${bindir}/${QT_DIR_NAME} rm -rf ${D}/${datadir}/${QT_DIR_NAME}/mkspecs + # fix some .la and .pc files + sed -i s#"moc_location=${STAGING_BINDIR}/moc4$"#"moc_location=${bindir}/moc4"# ${D}/${libdir}/pkgconfig/Qt*.pc + sed -i s#"uic_location=${STAGING_BINDIR}/uic4$"#"uic_location=${bindir}/uic4"# ${D}/${libdir}/pkgconfig/Qt*.pc + sed -i s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g ${D}/${libdir}/pkgconfig/Qt*.pc + sed -i s#-L${STAGING_LIBDIR}##g ${D}${libdir}/pkgconfig/Qt*.pc + + sed -i s#-L${STAGING_LIBDIR}#-L${libdir}#g ${D}${libdir}/libQt*.la + sed -i s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g ${D}/${libdir}/libQt*.la + install -d ${D}/${libdir}/fonts touch ${D}/${libdir}/fonts/fontdir } |