[oe-commits] Khem Raj : distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.

git version control git at git.openembedded.org
Wed Oct 13 11:51:26 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 629ae87eadeec1068c3778e14488b549029adffb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=629ae87eadeec1068c3778e14488b549029adffb

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Oct 12 15:58:34 2010 +0000

distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library search path.

* 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 at gmail.com>
Acked-by: Martin Jansa <Martin.Jansa at gmail.com>
Acked-by: Koen Kooi <k-kooi at ti.com>
Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 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}"
 





More information about the Openembedded-commits mailing list