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

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.