[oe] = ? UTF-8 ? B ? Ww== ? =oe= ? UTF-8 ? B ? XQ== ? = How to sane replace a path in a pkgconfig file ?
Phil Blundell
philb at gnu.org
Sun Feb 14 21:25:28 UTC 2010
On Sun, 2010-02-14 at 21:38 +0100, bernhard.guillon at opensimpad.org
wrote:
> for i in `find ${S}/ -name "*.pc" -type f` ; do
> - sed -i -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' $i
> + sed -i -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' -e 's:-rpath-link,${STAGING_LIBDIR}::g' $i
> done
That probably is a reasonable thing to do, but you might want to filter
out the preceding "-Wl," as well.
p.
More information about the Openembedded-devel
mailing list