[OE-core] [PATCH 1/3] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.

Michael Lippautz michael.lippautz at gmail.com
Wed Apr 27 07:43:55 UTC 2011


> This isn't a libtool problem, we've patched that problem out in oe-core
> (and I think in OE-dev too now). In this case something is adding
> "-L/usr/lib" to the compiler arguments and that is the reason things are
> failing. I'd suggesting finding out where that is coming from and fixing
> it at source.
>
Right.

I also noticed this behaviour and started to look after the cause. It
seems that distutils somehow grabs the target (python configured)
Makefile instead of the staging one.

Start of the trouble seems to be [1] where LIBDIR should point into
staging but is reported to be -L/usr/lib from sysconfig.

Maybe someone with more experience on python staging that can follow up.

Regards,
Michael

[1] https://bitbucket.org/carljm/python-distutils/src/48c42eeaee44/command/build_ext.py#cl-286




More information about the Openembedded-core mailing list