diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-10-12 15:58:34 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-10-13 13:46:58 +0200 |
commit | 629ae87eadeec1068c3778e14488b549029adffb (patch) | |
tree | 1d357be562cdedc366a982c6a5d1c6875add4fed /classes/distutils-common-base.bbclass | |
parent | 6c0e4791a43e7959f191868cdf2a7f3b57b77139 (diff) | |
download | openembedded-629ae87eadeec1068c3778e14488b549029adffb.tar.gz |
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@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'classes/distutils-common-base.bbclass')
-rw-r--r-- | 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 f66a5cd571..b6caf24580 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}" |