[oe] [OE][PATCH] pkgconfig.bbclass: Remove spurious rpaths and -isystem includes from pkgconfig files.

Ash Charles ashcharles at gmail.com
Tue Aug 10 18:47:20 UTC 2010


On Sun, Aug 8, 2010 at 10:48 AM, Roman I Khimov <roman at khimov.ru> wrote:
> I have "-isystem..." change in my own patch queue and rpath-link should be
> fine also. I'm not so sure about incdir or libdir change though.
>
Okay---cool.

The libdir & incdir stuff would be for such a case:
To compile against libfoo, you need to include a non-standard path
such as -I/usr/include/libfoo/bar/. Normally pkgconfig just adds this
flag but the path (pre-pkgconfig.bbclass) is gross (<staging
path>/usr/include/libfoo/bar/); the pkgconfig.bbclass strips this down
to a floating 'libfoo/bar' in the flags line when it should be
'-I/usr/include/libfoo/bar'.

I think the patch as I submitted it doesn't fix this properly for all
cases.  Also relies on ${prefix} to be correctly set for
pkgconfig---is this a safe assumption?

Should I split out the -rpath-link and -isystem into a separate patch?

Thanks,
Ash




More information about the Openembedded-devel mailing list