All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.
@ 2010-10-13  1:58 Khem Raj
  2010-10-13  6:59 ` Frans Meulenbroeks
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2010-10-13  1:58 UTC (permalink / raw)
  To: openembedded-devel

* 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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 classes/distutils-common-base.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/classes/distutils-common-base.bbclass b/classes/distutils-common-base.bbclass
index f66a5cd..b6caf24 100644
--- a/classes/distutils-common-base.bbclass
+++ b/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} "
 
 PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
 
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.
  2010-10-13  1:58 [PATCH] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path Khem Raj
@ 2010-10-13  6:59 ` Frans Meulenbroeks
  2010-10-13  7:12   ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Frans Meulenbroeks @ 2010-10-13  6:59 UTC (permalink / raw)
  To: openembedded-devel

2010/10/13 Khem Raj <raj.khem@gmail.com>:
> * 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.

Based on your commit message I expected a change in bitbake.conf too.
Am I mssing something here?

Frans

>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  classes/distutils-common-base.bbclass |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/classes/distutils-common-base.bbclass b/classes/distutils-common-base.bbclass
> index f66a5cd..b6caf24 100644
> --- a/classes/distutils-common-base.bbclass
> +++ b/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} "
>
>  PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
>
> --
> 1.7.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.
  2010-10-13  6:59 ` Frans Meulenbroeks
@ 2010-10-13  7:12   ` Martin Jansa
  2010-10-13  7:25     ` Koen Kooi
  2010-10-13  7:31     ` Frans Meulenbroeks
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Jansa @ 2010-10-13  7:12 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Oct 13, 2010 at 08:59:40AM +0200, Frans Meulenbroeks wrote:
> 2010/10/13 Khem Raj <raj.khem@gmail.com>:
> > * 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.
> 
> Based on your commit message I expected a change in bitbake.conf too.
> Am I mssing something here?

That changes was already commited and it's used only for
LIBTOOL_HAS_SYSROOT.

This is fixing build of all python recipes using distutils.

Acked-by: Martin Jansa <Martin.Jansa@gmail.com>

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.
  2010-10-13  7:12   ` Martin Jansa
@ 2010-10-13  7:25     ` Koen Kooi
  2010-10-13  7:31     ` Frans Meulenbroeks
  1 sibling, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2010-10-13  7:25 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13-10-10 09:12, Martin Jansa wrote:
> On Wed, Oct 13, 2010 at 08:59:40AM +0200, Frans Meulenbroeks wrote:
>> 2010/10/13 Khem Raj <raj.khem@gmail.com>:
>>> * 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.
>>
>> Based on your commit message I expected a change in bitbake.conf too.
>> Am I mssing something here?
> 
> That changes was already commited and it's used only for
> LIBTOOL_HAS_SYSROOT.
> 
> This is fixing build of all python recipes using distutils.

Like python-pycairo :)

> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>

Acked-by: Koen Kooi <k-kooi@ti.com>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMtV7VMkyGM64RGpERAskFAJsGk14QZJ3gKvF31B/RGuj+m+mfmwCgkwXv
XIgRylC4P5QyccgD+SdY/Do=
=vkru
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.
  2010-10-13  7:12   ` Martin Jansa
  2010-10-13  7:25     ` Koen Kooi
@ 2010-10-13  7:31     ` Frans Meulenbroeks
  1 sibling, 0 replies; 5+ messages in thread
From: Frans Meulenbroeks @ 2010-10-13  7:31 UTC (permalink / raw)
  To: openembedded-devel

2010/10/13 Martin Jansa <martin.jansa@gmail.com>:
> On Wed, Oct 13, 2010 at 08:59:40AM +0200, Frans Meulenbroeks wrote:
>> 2010/10/13 Khem Raj <raj.khem@gmail.com>:
>> > * 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.
>>
>> Based on your commit message I expected a change in bitbake.conf too.
>> Am I mssing something here?
>
> That changes was already commited and it's used only for
> LIBTOOL_HAS_SYSROOT.
>
> This is fixing build of all python recipes using distutils.
>
> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>

Ah ok, thanks for the info.
guess the commit message could have been a teeny weeny bit clearer.
it now to me suggested a code/functionality move from bitbake.conf to
dustutils-common-base.bbclass.

Frans.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-13  7:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13  1:58 [PATCH] distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path Khem Raj
2010-10-13  6:59 ` Frans Meulenbroeks
2010-10-13  7:12   ` Martin Jansa
2010-10-13  7:25     ` Koen Kooi
2010-10-13  7:31     ` Frans Meulenbroeks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.