diff options
author | Koen Kooi <koen@openembedded.org> | 2010-03-28 18:08:23 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-03-28 18:08:23 +0200 |
commit | b9cef2aa8b1f916d792ecccfcf55aff30710f210 (patch) | |
tree | 8d3222844684f504f07e96ee49251cfdd72a9150 /recipes | |
parent | 972d1569c2e43afd228eec41d78db86c10967fdb (diff) |
qt4: fix pkgconfig logic to avoid: NOTE: <type 'exceptions.Exception'>:variable includedir references itself! while evaluating:
${includedir}
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/qt4/qt4.inc | 2 |
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 |