summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4.inc
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-09-25 14:57:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 14:58:50 +0100
commita459ac71603d959b65964610e7819d29e24cc7f8 (patch)
tree2c8edfcfb62bc9ae91b1657886df2c2665666a9a /meta/recipes-qt/qt4/qt4.inc
parent6527c17d567405117bf32a51c0d8b03dc83b9b37 (diff)
downloadpoky-a459ac71603d959b65964610e7819d29e24cc7f8.tar.gz
meta: qt4: fix postprocessing of pkg-config files
When building qt4-embedded the generated and cleaned pkg-config files for qt are wrong. The Cflags variable contains something like ${includedir}/qtopia/QtCore where ${includedir} is already /usr/include/qtopia/QtCore. This patch reverts the fix up of the Cflags variable implemented in do_install. (From OE-Core rev: b40b9c024be5e1ec81a31961158b3e6b529acfe0) Signed-off-by: Simon Busch <morphis@gravedo.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4.inc')
-rw-r--r--meta/recipes-qt/qt4/qt4.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index 5545be700a..7f3e1a4785 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -293,7 +293,6 @@ do_install() {
293 -e s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g \ 293 -e s#'$(OE_QMAKE_LIBS_X11)'#"${OE_QMAKE_LIBS_X11}"#g \
294 -e s#" -Wl,-rpath-link,${S}/lib"##g \ 294 -e s#" -Wl,-rpath-link,${S}/lib"##g \
295 -e s#" -Wl,-rpath-link,${libdir}"##g \ 295 -e s#" -Wl,-rpath-link,${libdir}"##g \
296 -e 's#I/usr/include#Iincludedir}#g' \
297 -e 's#Iin#I${in#g' \ 296 -e 's#Iin#I${in#g' \
298 ${D}${libdir}/*.la ${D}${libdir}/*.prl ${D}${libdir}/pkgconfig/*.pc 297 ${D}${libdir}/*.la ${D}${libdir}/*.prl ${D}${libdir}/pkgconfig/*.pc
299 298
@@ -310,8 +309,7 @@ do_install() {
310 309
311 # QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so manually fix it up here: 310 # QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so manually fix it up here:
312 for pc in ${D}${libdir}/pkgconfig/*.pc ; do 311 for pc in ${D}${libdir}/pkgconfig/*.pc ; do
313 sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):prefix}/include:" \ 312 sed -i -e "s:prefix}include/${QT_DIR_NAME}/$(basename $pc .pc):prefix}/include:" \
314 -e "s,Cflags: ,Cflags: -IP{includedir}/${QT_BASE_NAME}/$(basename $pc .pc) ," \
315 -e 's:IP{:I${:g' $pc 313 -e 's:IP{:I${:g' $pc
316 done 314 done
317 315