]> code.ossystems Code Review - openembedded-core.git/commit
qt4: fix sed to have correct *.pc files
authorEric Bénard <eric@eukrea.com>
Tue, 29 Nov 2011 10:47:05 +0000 (11:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Nov 2011 13:43:34 +0000 (13:43 +0000)
commit2e635b4fe6be9d5bfcdd837a523833b7eb0819a0
tree51574433ce864a54ad112fbd49d031948a6d832e
parent6912bd212cf91ead4c5f8c4e4bb86ceb15e414e1
qt4: fix sed to have correct *.pc files

it seems sed doesn't handle \? properly if the string in not between
quotes.

without this patch, we get something like (for example for QtDBusE.pc :
Libs: -L${libdir} -lQtDBusE
Libs.private: -L/home/ebenard/WORK/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/board/
usr/lib -L/usr/lib  -L/home/ebenard/WORK/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/board
/usr/lib -lQtXmlE -L/usr/lib -lQtCoreE -lpthread
Cflags: -DQT_SHARED -I/usr/include/qtopia -I${includedir}

with the patch we get what is expected :
Libs: -L${libdir} -lQtDBusE
Libs.private:     -lQtXmlE  -lQtCoreE -lpthread
Cflags: -DQT_SHARED -I/usr/include/qtopia -I${includedir}

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-qt/qt4/qt4-embedded.inc
meta/recipes-qt/qt4/qt4-x11-free.inc
meta/recipes-qt/qt4/qt4.inc