diff options
author | Matthew McClintock <msm@freescale.com> | 2012-02-08 15:06:54 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 13:36:55 +0000 |
commit | 3f6b859a29ba7f570b9dae3b5bb7ab4bd7b8cee4 (patch) | |
tree | a3864800f5a2ebaaa85462c09535aa304e533ad1 /meta/classes/distutils.bbclass | |
parent | 9624a817bb7d2d9fce10704b1c1a047f93260f36 (diff) | |
download | openembedded-core-3f6b859a29ba7f570b9dae3b5bb7ab4bd7b8cee4.tar.gz openembedded-core-3f6b859a29ba7f570b9dae3b5bb7ab4bd7b8cee4.tar.bz2 openembedded-core-3f6b859a29ba7f570b9dae3b5bb7ab4bd7b8cee4.tar.xz openembedded-core-3f6b859a29ba7f570b9dae3b5bb7ab4bd7b8cee4.zip |
distutils.bbclass: override LDSHARED so we use the linker for this build and not the one used in sstate-cache
Without this fix, when packages are being built using distutils and
the python packages were deployed from sstate-cache is it possible
that the LD command will contain an invalid sysroot override.
We can fix this by always exported LDSHARED, which is the env var
that distutil looks for to override creating shared libraries.
Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'meta/classes/distutils.bbclass')
-rw-r--r-- | meta/classes/distutils.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass index 79b962a36..18ae805f7 100644 --- a/meta/classes/distutils.bbclass +++ b/meta/classes/distutils.bbclass @@ -72,3 +72,5 @@ distutils_do_install() { } EXPORT_FUNCTIONS do_compile do_install + +export LDSHARED="${CCLD} -shared" |