]> code.ossystems Code Review - openembedded-core.git/commit
python3: fix builtins imports
authorRoxana <roxana.ciobanu@intel.com>
Mon, 30 Jun 2014 09:44:03 +0000 (12:44 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jun 2014 15:35:03 +0000 (16:35 +0100)
commitc36d459f0d40bdbd3ba809835e0475e8992bc778
tree20efb2b643209b490a3fbacee4a6dedf8b3effd3
parent3042dcaecadee266b1e4dcae102030c7e4802b89
python3: fix builtins imports

The intent of this code is to generate things like -L=/usr/lib/foo so
for paths which start with "/" we should appent the "=". We should not do this
for ".". On some recent versions of binutils or patchsets on some recent
distros this appears to work differently and causes build failures, for example
on Ubuntu 14.04 LTS.

The simple fix is to check for "." as the path prefix.

[YOCTO #6467].

Signed-off-by: Roxana <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/unixccompiler.patch