From 57fb38a364066e4e768e0d9b6de6371185038454 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 3 Jun 2009 05:37:19 +0000 Subject: qt4: fixed pkgconfig for qt4-embedded Added ${QT_LIBINFIX} for pkgconfig dependencies. Signed-off-by: Ihar Hrachyshka Acked-by: Tom Rini Acked-by: Denys Dmytriyenko --- recipes/qt4/qt4.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'recipes/qt4') diff --git a/recipes/qt4/qt4.inc b/recipes/qt4/qt4.inc index a6a2bfc79c..de7ae150d8 100644 --- a/recipes/qt4/qt4.inc +++ b/recipes/qt4/qt4.inc @@ -222,6 +222,9 @@ do_install() { sed -i -e s#"moc_location=.*$"#"moc_location=${bindir}/moc4"# \ -e s#"uic_location=.*$"#"uic_location=${bindir}/uic4"# \ ${D}${libdir}/pkgconfig/*.pc + for name in ${QT_LIB_NAMES}; do + sed -i -e /Requires/s#"${name}"#"${name}${QT_LIBINFIX}"#g ${D}${libdir}/pkgconfig/*.pc + done install -d ${D}/${libdir}/fonts touch ${D}/${libdir}/fonts/fontdir @@ -244,6 +247,9 @@ do_stage() { sed -i -e s#"moc_location=.*$"## \ -e s#"uic_location=.*$"## \ ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc + for name in ${QT_LIB_NAMES}; do + sed -i -e "/Requires/s#${name}#${name}${QT_LIBINFIX}#"g ${D}${libdir}/pkgconfig/*.pc + done # fix libtool files sed -i -e s#installed=yes#installed=no#g ${STAGE_TEMP}/${libdir}/*.la -- cgit v1.2.3