diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 11:53:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 11:54:01 +0100 |
commit | 546175abbac8a3c7ec4b5a4d014b05378bbb092f (patch) | |
tree | 8fab161598468447fc29f05de4189715f9dd7baf /meta/recipes-extended/sysklogd | |
parent | 40c34087dea6869e5ec9a655980de3c3baa01960 (diff) | |
download | openembedded-core-546175abbac8a3c7ec4b5a4d014b05378bbb092f.tar.gz openembedded-core-546175abbac8a3c7ec4b5a4d014b05378bbb092f.tar.bz2 openembedded-core-546175abbac8a3c7ec4b5a4d014b05378bbb092f.tar.xz openembedded-core-546175abbac8a3c7ec4b5a4d014b05378bbb092f.zip |
python: Fix host contamination issue
python-nativesdk could fail with:
| /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/sysroots/x86_64-linux/usr/bin/python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/python-nativesdk-2.7.2-r1.9/Python-2.7.2/libpython2.7.so.1.0)
| make: *** [sharedmods] Error 1
which is caused by the fact LD_LIBRARY_PATH is being set to include WORKDIR
when calling HOSTPYTHON. HOSTPYTHON is from python-native and needs no such
help so the easiest fix here is not to set crazy LD_LIBRARY_PATH values
since we should never be running anything from WORKDIR given the way we build
things.
The patch clears out the RUNSHARED variable which would contain the
LD_LIBRARY_PATH value prior to this patch.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysklogd')
0 files changed, 0 insertions, 0 deletions