]> code.ossystems Code Review - openembedded-core.git/commit
distutils.bbclass: override LDSHARED so we use the linker for this build and not...
authorMatthew McClintock <msm@freescale.com>
Wed, 8 Feb 2012 21:06:54 +0000 (15:06 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Feb 2012 13:36:55 +0000 (13:36 +0000)
commit3f6b859a29ba7f570b9dae3b5bb7ab4bd7b8cee4
treea3864800f5a2ebaaa85462c09535aa304e533ad1
parent9624a817bb7d2d9fce10704b1c1a047f93260f36
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>
meta/classes/distutils.bbclass