buildrootschalter/package/python3
Thomas Petazzoni 286ee8001c python3: do not rely only on LIBRARY_PATH for old compilers
The cross-compilation improvements integrated in Python rely on the
compiler exposing a line starting with LIBRARY_PATH when called with
-E -v. This is used by Python setup.py to find the installation
locations of libraries.

However, this LIBRARY_PATH line is not shown by very old compilers,
such as the gcc 4.2.x compiler used on the AVR32 architecture. This
causes libraries installed in the sysroot, such as libffi, to not be
detected by the setup.py script.

To fix this problem, this patch adds addtional logic to setup.py,
which consists in deriving the library paths from the sysroot
location, if no LIBRARY_PATH field was found.

Fixes:

  http://autobuild.buildroot.org/results/7a6/7a65e381cc04bf8f74fd63a6dcda502f3c26aeef/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-20 18:35:53 +02:00
..
Config.in
python3-001-remove-host-header-path.patch
python3-002-properly-detect-if-python-build.patch
python3-003-sysconfigdata-install-location.patch
python3-004-old-stdlib-cache.patch
python3-005-pyc-pyo-conditional.patch
python3-006-cross-compile-getaddrinfo.patch
python3-007-disable-extensions.patch
python3-008-distutils-sysconfig-use-sysconfigdata.patch
python3-009-distutils-use-python-sysroot.patch
python3-010-no-termcap-host-path.patch
python3-011-support-library-path-old-compilers.patch python3: do not rely only on LIBRARY_PATH for old compilers 2014-04-20 18:35:53 +02:00
python3-100-optional-test-modules.patch
python3-101-optional-pydoc.patch
python3-102-optional-2to3.patch
python3-103-optional-sqlite.patch
python3-104-optional-tk.patch
python3-105-optional-curses.patch
python3-106-optional-expat.patch
python3-107-optional-codecs-cjk.patch
python3-108-optional-nis.patch
python3-109-optional-unicodedata.patch
python3-110-optional-idle.patch
python3.mk python3: correctly fix PYTHON3_PATH 2014-04-12 23:03:10 +02:00