[OE-core] [PATCH 1/3] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Mar 31 14:26:39 UTC 2011
On Thu, 2011-03-31 at 12:40 +0200, Martin Jansa wrote:
> * This was done generically in bitbake.conf this should be done on
> demand and distutils based recipes seem to need it. So we define it
> here.
> * imported from OE 629ae87eadeec1068c3778e14488b549029adffb
>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> meta/classes/distutils-common-base.bbclass | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
> index f66a5cd..b6caf24 100644
> --- a/meta/classes/distutils-common-base.bbclass
> +++ b/meta/classes/distutils-common-base.bbclass
> @@ -4,6 +4,8 @@ EXTRA_OEMAKE = ""
>
> export STAGING_INCDIR
> export STAGING_LIBDIR
> +# libtool 2.4 does not export with LDFLAGS but distutils need it
> +LDFLAGS_prepend = "-L${STAGING_LIBDIR} "
This should not be needed, the linker itself should automatically look
in that path at link time. What problem are you seeing?
Cheers,
Richard
More information about the Openembedded-core
mailing list