summaryrefslogtreecommitdiff
path: root/recipes/qt4
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qt4')
-rw-r--r--recipes/qt4/qt4.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/qt4/qt4.inc b/recipes/qt4/qt4.inc
index 861b38d7cf..5a19f65936 100644
--- a/recipes/qt4/qt4.inc
+++ b/recipes/qt4/qt4.inc
@@ -265,7 +265,7 @@ do_install() {
# QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so manually fix it up here:
for pc in ${D}${libdir}/pkgconfig/*.pc ; do
- sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):includedir}:" \
+ sed -i -e "s:prefix}include/${QT_BASE_NAME}/$(basename $pc .pc):prefix}/include:" \
-e "s,Cflags: ,Cflags: -IP{includedir}/${QT_BASE_NAME}/$(basename $pc .pc) ," \
-e 's:IP{:I${:g' $pc
done