diff options
author | Ihar Hrachyshka <ihar.hrachyshka@gmail.com> | 2009-06-03 05:37:19 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-06-09 23:21:50 -0400 |
commit | 57fb38a364066e4e768e0d9b6de6371185038454 (patch) | |
tree | 76297c36f0de70c3653741ed732f6f50ba961885 /recipes | |
parent | 54057781d2aa244924576bcb214d2f0b097abfe3 (diff) |
qt4: fixed pkgconfig for qt4-embedded
Added ${QT_LIBINFIX} for pkgconfig dependencies.
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Acked-by: Tom Rini <trini@embeddedalley.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/qt4/qt4.inc | 6 |
1 files changed, 6 insertions, 0 deletions
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 |